lib/instructions/name/name_rotate.rb in nudge-0.2.6 vs lib/instructions/name/name_rotate.rb in nudge-0.2.7

- old
+ new

@@ -1,4 +1,15 @@ +# pops the top 3 items of the +:name+ stack; +# pushes them back in _rotated_ order +# +# If they were A, B and C (with C originally at the top of the stack) +# the result will be B, C, A (with A at the top) +# +# *needs:* 3 +:name+ +# +# *pushes:* 3 +:name+ +# + class NameRotateInstruction < Instruction include RotateInstruction def initialize(context) super(context, :name) end