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.
47 48 49 50 |
# File 'lib/irb/ruby-token.rb', line 47 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.
51 52 53 |
# File 'lib/irb/ruby-token.rb', line 51 def value @value end |