Object
# File rdoc/parser/ruby.rb, line 41 def initialize(line_no, char_no) @line_no = line_no @char_no = char_no @text = NO_TEXT end
# File rdoc/parser/ruby.rb, line 47 def ==(other) self.class == other.class and other.line_no == @line_no and other.char_no == @char_no and other.text == @text end
Because we're used in contexts that expect to return a token, we set the text string and then return ourselves
# File rdoc/parser/ruby.rb, line 58 def set_text(text) @text = text self end
This page was generated for Ruby 1.9.1
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.44.0.