Sha256: 7a1f76b097560bb681e59df904217cbf1065121d97a76bbe5f1fbc226cc9e84d

Contents?: true

Size: 252 Bytes

Versions: 3

Compression:

Stored size: 252 Bytes

Contents

# makes and pushes a clone of the top item on the +:exec+ stack
#
# *needs:* 1 +:exec+
#
# *pushes:* 1 +:exec+
#

class ExecDuplicateInstruction < Instruction
  include DuplicateInstruction
  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_duplicate.rb
nudge-0.2.8 lib/instructions/exec/exec_duplicate.rb
nudge-0.2.7 lib/instructions/exec/exec_duplicate.rb