lib/instructions/exec/exec_swap.rb in nudge-0.2.6 vs lib/instructions/exec/exec_swap.rb in nudge-0.2.7
- old
+ new
@@ -1,4 +1,7 @@
+# exchanges the position of the top 2 items on the +:exec+ stack
+#
+
class ExecSwapInstruction < Instruction
include SwapInstruction
def initialize(context)
super(context, :exec)
end