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