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

- old
+ new

@@ -5,15 +5,11 @@ module IRB # :stopdoc: module Command class Backtrace < DebugCommand - def self.transform_args(args) - args&.dump - end - - def execute(*args) - super(pre_cmds: ["backtrace", *args].join(" ")) + def execute(arg) + execute_debug_command(pre_cmds: "backtrace #{arg}") end end end # :startdoc: