Class: Hoozuki::Instruction::Jmp
- Inherits:
-
Object
- Object
- Hoozuki::Instruction::Jmp
- Defined in:
- lib/hoozuki/instruction/jmp.rb
Instance Attribute Summary collapse
-
#target ⇒ Object
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(target) ⇒ Jmp
constructor
A new instance of Jmp.
Constructor Details
#initialize(target) ⇒ Jmp
Returns a new instance of Jmp.
8 9 10 |
# File 'lib/hoozuki/instruction/jmp.rb', line 8 def initialize(target) @target = target end |
Instance Attribute Details
#target ⇒ Object
Returns the value of attribute target.
6 7 8 |
# File 'lib/hoozuki/instruction/jmp.rb', line 6 def target @target end |