Sha256: 6229c0eb082bba337b11903ee169f10df10908843007a5bc4c879c3d351eeb82
Contents?: true
Size: 387 Bytes
Versions: 3
Compression:
Stored size: 387 Bytes
Contents
# pops the top 3 items of the +:exec+ 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 +:exec+ # # *pushes:* 3 +:exec+ # class ExecRotateInstruction < Instruction include RotateInstruction def initialize(context) super(context, :exec) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nudge-0.2.9 | lib/instructions/exec/exec_rotate.rb |
nudge-0.2.8 | lib/instructions/exec/exec_rotate.rb |
nudge-0.2.7 | lib/instructions/exec/exec_rotate.rb |