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