lib/irb/command/delete.rb in irb-1.12.0 vs lib/irb/command/delete.rb in irb-1.13.0

- old
+ new

@@ -5,11 +5,11 @@ module IRB # :stopdoc: module Command class Delete < DebugCommand - def execute(*args) - super(pre_cmds: ["delete", *args].join(" ")) + def execute(arg) + execute_debug_command(pre_cmds: "delete #{arg}") end end end # :startdoc: