Class: FloatPopInstruction
- Inherits:
-
Instruction
- Object
- Instruction
- FloatPopInstruction
- Includes:
- PopInstruction
- Defined in:
- lib/instructions/float/float_pop.rb
Overview
pops (and discards) the topmost item from the :float
stack
Instance Attribute Summary
Attributes included from PopInstruction
Attributes inherited from Instruction
Instance Method Summary collapse
-
#initialize(context) ⇒ FloatPopInstruction
constructor
A new instance of FloatPopInstruction.
Methods included from PopInstruction
#cleanup, #derive, #preconditions?, #setup
Methods inherited from Instruction
all_instructions, #cleanup, #derive, #go, inherited, #needs, #preconditions?, #pushes, #setup, to_nudgecode
Constructor Details
#initialize(context) ⇒ FloatPopInstruction
Returns a new instance of FloatPopInstruction.
6 7 8 |
# File 'lib/instructions/float/float_pop.rb', line 6 def initialize(context) super(context, :float) end |