Class: RubyToken::TkUnknownChar
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Token
Instance Method Summary collapse
-
#initialize(seek, line_no, char_no, id) ⇒ TkUnknownChar
constructor
A new instance of TkUnknownChar.
Constructor Details
#initialize(seek, line_no, char_no, id) ⇒ TkUnknownChar
Returns a new instance of TkUnknownChar.
74 75 76 77 |
# File 'lib/irb/ruby-token.rb', line 74 def initialize(seek, line_no, char_no, id) super(seek, line_no, char_no) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
78 79 80 |
# File 'lib/irb/ruby-token.rb', line 78 def name @name end |