lib/instructions/name/name_next.rb in nudge-0.2.6 vs lib/instructions/name/name_next.rb in nudge-0.2.7
- old
+ new
@@ -1,4 +1,11 @@
+# Creates and pushes a new ReferencePoint onto the +:name+ stack. The name itself
+# will be a new string, obtained by invoking the context's Interpreter#next_name method.
+#
+# needs: nothing
+#
+# pushes: 1 +:name+
+
class NameNextInstruction < Instruction
def preconditions?
true
end
def setup