Class: SyntaxTree::YARV::VM::Jump
- Inherits:
-
Object
- Object
- SyntaxTree::YARV::VM::Jump
- Defined in:
- lib/syntax_tree/yarv/vm.rb
Instance Attribute Summary collapse
-
#label ⇒ Object
readonly
Returns the value of attribute label.
Instance Method Summary collapse
-
#initialize(label) ⇒ Jump
constructor
A new instance of Jump.
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
#label ⇒ Object (readonly)
Returns the value of attribute label.
10 11 12 |
# File 'lib/syntax_tree/yarv/vm.rb', line 10 def label @label end |