Sha256: f51440664a87623ee82f0c52674c1446b041904ff794309233d22bc8d30fc9f4

Contents?: true

Size: 196 Bytes

Versions: 3

Compression:

Stored size: 196 Bytes

Contents

# exchanges the position of the top 2 items on the +:code+ stack
#

class CodeSwapInstruction < Instruction
  include SwapInstruction
  def initialize(context)
    super(context, :code)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nudge-0.2.9 lib/instructions/code/code_swap.rb
nudge-0.2.8 lib/instructions/code/code_swap.rb
nudge-0.2.7 lib/instructions/code/code_swap.rb