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.
59 60 61 62 63 |
# File 'lib/irb/ruby-token.rb', line 59 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.
64 65 66 |
# File 'lib/irb/ruby-token.rb', line 64 def op @op end |