Class: RubyToken::TkUnknownChar
- Defined in:
- lib/rdoc-f95/parsers/parse_rb.rb
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, id) ⇒ TkUnknownChar
constructor
A new instance of TkUnknownChar.
Methods inherited from Token
Constructor Details
#initialize(line_no, char_no, id) ⇒ TkUnknownChar
Returns a new instance of TkUnknownChar.
97 98 99 100 |
# File 'lib/rdoc-f95/parsers/parse_rb.rb', line 97 def initialize(line_no, char_no, id) super(line_no, char_no) @name = char_no.chr end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
101 102 103 |
# File 'lib/rdoc-f95/parsers/parse_rb.rb', line 101 def name @name end |