Class: IntDuplicateInstruction
- Inherits:
-
Instruction
- Object
- Instruction
- IntDuplicateInstruction
- Includes:
- DuplicateInstruction
- Defined in:
- lib/instructions/int/int_duplicate.rb
Instance Attribute Summary
Attributes included from DuplicateInstruction
Attributes inherited from Instruction
Instance Method Summary collapse
-
#initialize(context) ⇒ IntDuplicateInstruction
constructor
A new instance of IntDuplicateInstruction.
Methods included from DuplicateInstruction
#cleanup, #derive, #preconditions?, #setup
Methods inherited from Instruction
all_instructions, #cleanup, #derive, #go, inherited, #needs, #preconditions?, #pushes, #setup, to_nudgecode
Constructor Details
#initialize(context) ⇒ IntDuplicateInstruction
Returns a new instance of IntDuplicateInstruction.
3 4 5 |
# File 'lib/instructions/int/int_duplicate.rb', line 3 def initialize(context) super(context, :int) end |