Sha256: d80bd2d5a31ce923a1b9a516d42b5471369314938f517d772a9c0d8ba89f2e54

Contents?: true

Size: 257 Bytes

Versions: 3

Compression:

Stored size: 257 Bytes

Contents

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

class FloatDuplicateInstruction < Instruction
  include DuplicateInstruction
  def initialize(context)
    super(context, :float)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nudge-0.2.9 lib/instructions/float/float_duplicate.rb
nudge-0.2.8 lib/instructions/float/float_duplicate.rb
nudge-0.2.7 lib/instructions/float/float_duplicate.rb