Class: SyntaxTree::YARV::VM::Leave
- Inherits:
-
Object
- Object
- SyntaxTree::YARV::VM::Leave
- Defined in:
- lib/syntax_tree/yarv/vm.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ Leave
constructor
A new instance of Leave.
Constructor Details
#initialize(value) ⇒ Leave
Returns a new instance of Leave.
20 21 22 |
# File 'lib/syntax_tree/yarv/vm.rb', line 20 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
18 19 20 |
# File 'lib/syntax_tree/yarv/vm.rb', line 18 def value @value end |