Class: RubyToken::TkId
Direct Known Subclasses
Constant Summary
Constants inherited from Token
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Token
Instance Method Summary collapse
-
#initialize(line_no, char_no, name) ⇒ TkId
constructor
A new instance of TkId.
Methods inherited from Token
Constructor Details
#initialize(line_no, char_no, name) ⇒ TkId
Returns a new instance of TkId.
64 65 66 67 |
# File 'lib/rdoc-f95/parsers/parse_rb.rb', line 64 def initialize(line_no, char_no, name) super(line_no, char_no) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
68 69 70 |
# File 'lib/rdoc-f95/parsers/parse_rb.rb', line 68 def name @name end |