lib/instructions/float/float_duplicate.rb in nudge-0.2.6 vs lib/instructions/float/float_duplicate.rb in nudge-0.2.7
- old
+ new
@@ -1,4 +1,11 @@
+# makes and pushes a clone of the top item on the +:float+ stack
+#
+# *needs:* 1 +:float+
+#
+# *pushes:* 1 +:float+
+#
+
class FloatDuplicateInstruction < Instruction
include DuplicateInstruction
def initialize(context)
super(context, :float)
end