lib/instructions/bool/bool_duplicate.rb in nudge-0.2.6 vs lib/instructions/bool/bool_duplicate.rb in nudge-0.2.7

- old
+ new

@@ -1,4 +1,11 @@ +# makes and pushes a clone of the top item on the +:bool+ stack +# +# *needs:* 1 +:bool+ +# +# *pushes:* 1 +:bool+ +# + class BoolDuplicateInstruction < Instruction include DuplicateInstruction def initialize(context) super(context, :bool) end