lib/instructions/name/name_duplicate.rb in nudge-0.2.6 vs lib/instructions/name/name_duplicate.rb in nudge-0.2.7
- old
+ new
@@ -1,4 +1,11 @@
+# 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