Class: SyntaxTree::YARV::VM::Leave

Inherits:
Object
  • Object
show all
Defined in:
lib/syntax_tree/yarv/vm.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#valueObject (readonly)

Returns the value of attribute value.



18
19
20
# File 'lib/syntax_tree/yarv/vm.rb', line 18

def value
  @value
end