Class: RubyToken::TkNode

Inherits:
Token show all
Defined in:
lib/irb/ruby-token.rb

Instance Attribute Summary collapse

Attributes inherited from Token

#char_no, #line_no, #seek

Instance Method Summary collapse

Constructor Details

#initialize(seek, line_no, char_no) ⇒ TkNode

Returns a new instance of TkNode.



31
32
33
# File 'lib/irb/ruby-token.rb', line 31

def initialize(seek, line_no, char_no)
  super
end

Instance Attribute Details

#nodeObject (readonly)

Returns the value of attribute node



34
35
36
# File 'lib/irb/ruby-token.rb', line 34

def node
  @node
end