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