Hold details of a special sequence
Creates a new special sequence of type
with text
# File lib/rdoc/markup/special.rb, line 19
def initialize(type, text)
@type, @text = type, text
end
Specials are equal when the have the same text and type
# File lib/rdoc/markup/special.rb, line 26
def ==(o)
self.text == o.text && self.type == o.type
end
/ | Search |
---|---|
? | Show this help |