lib/instructions/conversion/code_from_float.rb in nudge-0.2.6 vs lib/instructions/conversion/code_from_float.rb in nudge-0.2.7
- old
+ new
@@ -1,5 +1,14 @@
-#encoding: utf-8
+# encoding: utf-8
+
+# pops the top +:float+ item;
+# pushes a new +:code+ item,
+# with value equal to the +:float+ item's blueprint
+#
+# *needs:* 1 +:float+
+#
+# *pushes:* 1 +:code+
+#
class CodeFromFloatInstruction < Instruction
def preconditions?
needs :float, 1
end