lib/instructions/int/int_if.rb in nudge-0.2.6 vs lib/instructions/int/int_if.rb in nudge-0.2.7

- old
+ new

@@ -1,4 +1,12 @@ +# pops the top 2 items of the +:int+ stack, and one +:bool+; +# returns the top +:int+ item if the +:bool+ is +false+, the second one if +true+ +# +# *needs:* 2 +:int+, 1 +:bool+ +# +# *pushes:* 1 +:int+ +# + class IntIfInstruction < Instruction include IfInstruction def initialize(context)