Class: RDoc::Markup::Special
| Relationships & Source Files | |
| Inherits: | Object | 
| Defined in: | lib/rdoc/markup/special.rb | 
Overview
Hold details of a special sequence
Class Method Summary
- .new(type, text) ⇒ Special constructor
Instance Attribute Summary
Instance Method Summary
Constructor Details
    .new(type, text)  ⇒ Special 
  
  [ GitHub ]
Instance Attribute Details
#text (rw)
Special text
# File 'lib/rdoc/markup/special.rb', line 15
attr_accessor :text
#type (readonly)
Special type
# File 'lib/rdoc/markup/special.rb', line 10
attr_reader :type
Instance Method Details
#==(o)
Specials are equal when the have the same text and type
#inspect
    This method is for internal use only.
  
  [ GitHub ]
# File 'lib/rdoc/markup/special.rb', line 31
def inspect # :nodoc: "#<RDoc::Markup::Special:0x%x @type=%p, @text=%p>" % [ object_id, @type, text.dump] end
#to_s
    This method is for internal use only.
  
  [ GitHub ]