123456789_123456789_123456789_123456789_123456789_

Class: RubyToken::TkId

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Token
Instance Chain:
self, Token
Inherits: RubyToken::Token
Defined in: lib/irb/ruby-token.rb

Class Method Summary

Instance Attribute Summary

Token - Inherited

Constructor Details

.new(seek, line_no, char_no, name) ⇒ TkId

[ GitHub ]

  
# File 'lib/irb/ruby-token.rb', line 39

def initialize(seek, line_no, char_no, name)
  super(seek, line_no, char_no)
  @name = name
end

Instance Attribute Details

#name (readonly)

[ GitHub ]

  
# File 'lib/irb/ruby-token.rb', line 43

attr_reader :name