class RDoc::Markup::Special

def ==(o)

def ==(o)
  self.text == o.text && self.type == o.type
end

def initialize(type, text)

def initialize(type, text)
  @type, @text = type, text
end

def inspect # :nodoc:

:nodoc:
def inspect # :nodoc:
  "#<RDoc::Markup::Special:0x%x @type=%p, name=%p @text=%p>" % [
    object_id, @type, RDoc::Markup::Attribute.as_string(type), text.dump]
end

def to_s # :nodoc:

:nodoc:
def to_s # :nodoc:
  "Special: type=#{type}, name=#{RDoc::Markup::Attribute.as_string type}, text=#{text.dump}"
end