Sha256: 4812dfbac3bfd472f4b971b4b18d32c1965f80fbb30fe426919e177bc2872f07

Contents?: true

Size: 252 Bytes

Versions: 3

Compression:

Stored size: 252 Bytes

Contents

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

class NameDuplicateInstruction < Instruction
  include DuplicateInstruction
  def initialize(context)
    super(context, :name)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nudge-0.2.9 lib/instructions/name/name_duplicate.rb
nudge-0.2.8 lib/instructions/name/name_duplicate.rb
nudge-0.2.7 lib/instructions/name/name_duplicate.rb