Class: RubyToken::TkOPASGN
Instance Attribute Summary collapse
-
#op ⇒ Object
readonly
Returns the value of attribute op.
Attributes inherited from TkOp
Attributes inherited from Token
Instance Method Summary collapse
-
#initialize(seek, line_no, char_no, op) ⇒ TkOPASGN
constructor
A new instance of TkOPASGN.
Constructor Details
#initialize(seek, line_no, char_no, op) ⇒ TkOPASGN
Returns a new instance of TkOPASGN.
65 66 67 68 69 |
# File 'lib/irb/ruby-token.rb', line 65 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 ⇒ Object (readonly)
Returns the value of attribute op
70 71 72 |
# File 'lib/irb/ruby-token.rb', line 70 def op @op end |