Class: BoolYankdupInstruction

Inherits:
Instruction show all
Includes:
YankdupInstruction
Defined in:
lib/instructions/bool/bool_yankdup.rb

Instance Attribute Summary

Attributes included from YankdupInstruction

#target_stack

Attributes inherited from Instruction

#context

Instance Method Summary collapse

Methods included from YankdupInstruction

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

Methods inherited from Instruction

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

Constructor Details

#initialize(context) ⇒ BoolYankdupInstruction

Returns a new instance of BoolYankdupInstruction.



3
4
5
# File 'lib/instructions/bool/bool_yankdup.rb', line 3

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