lib/irb/command/catch.rb in irb-1.12.0 vs lib/irb/command/catch.rb in irb-1.13.0
- old
+ new
@@ -5,15 +5,11 @@
module IRB
# :stopdoc:
module Command
class Catch < DebugCommand
- def self.transform_args(args)
- args&.dump
- end
-
- def execute(*args)
- super(pre_cmds: ["catch", *args].join(" "))
+ def execute(arg)
+ execute_debug_command(pre_cmds: "catch #{arg}")
end
end
end
# :startdoc: