Class: FloatIfInstruction

Inherits:
Instruction show all
Includes:
IfInstruction
Defined in:
lib/instructions/float/float_if.rb

Instance Attribute Summary

Attributes included from IfInstruction

#target_stack

Attributes inherited from Instruction

#context

Instance Method Summary collapse

Methods included from IfInstruction

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

Methods inherited from Instruction

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

Constructor Details

#initialize(context) ⇒ FloatIfInstruction

Returns a new instance of FloatIfInstruction.



5
6
7
# File 'lib/instructions/float/float_if.rb', line 5

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