123456789_123456789_123456789_123456789_123456789_

Class: RubyToken::TkOPASGN

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

Class Method Summary

Instance Attribute Summary

TkOp - Inherited

Token - Inherited

Constructor Details

.new(seek, line_no, char_no, op) ⇒ TkOPASGN

[ GitHub ]

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

def initialize(seek, line_no, char_no, op)
  super(seek, line_no, char_no)
  op = TkReading2Token[op][0] unless op.kind_of?(Symbol)
  @op = op
end

Instance Attribute Details

#op (readonly)

[ GitHub ]

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

attr_reader :op