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.
68 69 70 71 |
# File 'lib/irb/ruby-token.rb', line 68 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.
72 73 74 |
# File 'lib/irb/ruby-token.rb', line 72 def name @name end |