Class: SyntaxTree::YARV::VM::Jump

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(label) ⇒ Jump

Returns a new instance of Jump.



12
13
14
# File 'lib/syntax_tree/yarv/vm.rb', line 12

def initialize(label)
  @label = label
end

Instance Attribute Details

#labelObject (readonly)

Returns the value of attribute label.



10
11
12
# File 'lib/syntax_tree/yarv/vm.rb', line 10

def label
  @label
end