ruby/lib/irb/command/backtrace.rb

17 lines
262 B
Ruby

# frozen_string_literal: true
require_relative "debug"
module IRB
# :stopdoc:
module Command
class Backtrace < DebugCommand
def execute(arg)
execute_debug_command(pre_cmds: "backtrace #{arg}")
end
end
end
# :startdoc:
end