Sha256: e14668144fb2e053536fa7aae4177531c016e9a3ec0c64d33166a73ec345271a

Contents?: true

Size: 247 Bytes

Versions: 3

Compression:

Stored size: 247 Bytes

Contents

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

class IntDuplicateInstruction < Instruction
  include DuplicateInstruction
  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_duplicate.rb
nudge-0.2.8 lib/instructions/int/int_duplicate.rb
nudge-0.2.7 lib/instructions/int/int_duplicate.rb