lib/instructions/bool/bool_depth.rb in nudge-0.2.6 vs lib/instructions/bool/bool_depth.rb in nudge-0.2.7
- old
+ new
@@ -1,4 +1,9 @@
+# pushes a ValuePoint with the number of items in the +:bool+ stack onto the +:int+ stack
+#
+# *pushes:* 1 +:int+
+#
+
class BoolDepthInstruction < Instruction
include DepthInstruction
def initialize(context)
super(context, :bool)
end