lib/instructions/float/float_rotate.rb in nudge-0.2.6 vs lib/instructions/float/float_rotate.rb in nudge-0.2.7

- old
+ new

@@ -1,4 +1,15 @@ +# pops the top 3 items of the +:float+ stack; +# pushes them back in _rotated_ order +# +# If they were A, B and C (with C originally at the top of the stack) +# the result will be B, C, A (with A at the top) +# +# *needs:* 3 +:float+ +# +# *pushes:* 3 +:float+ +# + class FloatRotateInstruction < Instruction include RotateInstruction def initialize(context) super(context, :float) end