lib/instructions/exec/exec_flush.rb in nudge-0.2.6 vs lib/instructions/exec/exec_flush.rb in nudge-0.2.7
- old
+ new
@@ -1,4 +1,9 @@
+# deletes all items from the +:exec+ stack
+#
+# note: this is the equivalent of a "BREAK" statement in many other languages
+#
+
class ExecFlushInstruction < Instruction
include FlushInstruction
def initialize(context)
super(context, :exec)
end