Class: RubyToken::TkVal
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Attributes inherited from Token
Instance Method Summary collapse
-
#initialize(seek, line_no, char_no, value = nil) ⇒ TkVal
constructor
A new instance of TkVal.
Constructor Details
#initialize(seek, line_no, char_no, value = nil) ⇒ TkVal
Returns a new instance of TkVal.
53 54 55 56 |
# File 'lib/irb/ruby-token.rb', line 53 def initialize(seek, line_no, char_no, value = nil) super(seek, line_no, char_no) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value
57 58 59 |
# File 'lib/irb/ruby-token.rb', line 57 def value @value end |