class RDoc::Markup::RegexpHandling
Hold details of a regexp handling sequence
Attributes
Regexp handling text
Regexp handling type
Public Class Methods
Source
# File lib/rdoc/markup/regexp_handling.rb, line 20 def initialize(type, text) @type, @text = type, text end
Creates a new regexp handling sequence of type
with text
Public Instance Methods
Source
# File lib/rdoc/markup/regexp_handling.rb, line 27 def ==(o) self.text == o.text && self.type == o.type end
Regexp handlings are equal when the have the same text and type