lib/instructions/name/name_disable_lookup.rb in nudge-0.2.6 vs lib/instructions/name/name_disable_lookup.rb in nudge-0.2.7
- old
+ new
@@ -1,4 +1,15 @@
+# Sets the value of the context attribute Interpreter#evaluate_references to false.
+# This will persist until the next time the Interpreter evaluates a ReferencePoint;
+# instead of attempting to look up the variable or name referred to by the ReferencePoint,
+# it will instead push the ReferencePoint onto the +:name+ stack.
+#
+# needs: nothing
+#
+# pushes: nothing
+#
+#
+#
class NameDisableLookupInstruction < Instruction
def preconditions?
true
end
def setup