Class: BoolDefineInstruction

Inherits:
Instruction show all
Includes:
DefineInstruction
Defined in:
lib/instructions/bool/bool_define.rb

Instance Attribute Summary

Attributes included from DefineInstruction

#target_stack

Attributes inherited from Instruction

#context

Instance Method Summary collapse

Methods included from DefineInstruction

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

Methods inherited from Instruction

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

Constructor Details

#initialize(context) ⇒ BoolDefineInstruction

Returns a new instance of BoolDefineInstruction.



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

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