lib/instructions/bool/bool_not.rb in nudge-0.2.6 vs lib/instructions/bool/bool_not.rb in nudge-0.2.7
- old
+ new
@@ -1,4 +1,12 @@
+# pops the top item of the +:bool+ stack;
+# pushes a ValuePoint with the value negated onto the +:bool+ stack
+#
+# *needs:* 1 +:bool+
+#
+# *pushes:* 1 +:bool+
+#
+
class BoolNotInstruction < Instruction
def preconditions?
needs :bool, 1
end