In Files

  • rdoc/markup/inline.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

RDoc::Markup::Special

Hold details of a special sequence

Attributes

text[RW]

Special text

type[R]

Special type

Public Class Methods

new(type, text) click to toggle source

Creates a new special sequence of type with text

 
               # File rdoc/markup/inline.rb, line 121
def initialize(type, text)
  @type, @text = type, text
end
            

Public Instance Methods

==(o) click to toggle source

Specials are equal when the have the same text and type

 
               # File rdoc/markup/inline.rb, line 128
def ==(o)
  self.text == o.text && self.type == o.type
end