In Files

  • rdoc/markup/regexp_handling.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

RDoc::Markup::RegexpHandling

Hold details of a regexp handling sequence

Attributes

text[RW]

Regexp handling text

type[R]

Regexp handling type

Public Class Methods

new(type, text) click to toggle source

Creates a new regexp handling sequence of type with text

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

Public Instance Methods

==(o) click to toggle source

Regexp handlings are equal when the have the same text and type

 
               # File rdoc/markup/regexp_handling.rb, line 26
def ==(o)
  self.text == o.text && self.type == o.type
end
            
There is an updated format of the API docs for this version here.