Class: NameYankInstruction

Inherits:
Instruction show all
Includes:
YankInstruction
Defined in:
lib/instructions/name/name_yank.rb

Instance Attribute Summary

Attributes included from YankInstruction

#target_stack

Attributes inherited from Instruction

#context

Instance Method Summary collapse

Methods included from YankInstruction

#cleanup, #derive, #preconditions?, #setup

Methods inherited from Instruction

all_instructions, #cleanup, #derive, #go, inherited, #needs, #preconditions?, #pushes, #setup, to_nudgecode

Constructor Details

#initialize(context) ⇒ NameYankInstruction

Returns a new instance of NameYankInstruction.



3
4
5
# File 'lib/instructions/name/name_yank.rb', line 3

def initialize(context)
  super(context, :name)
end