Class: IRB::Command::Backtrace

Inherits:
DebugCommand show all
Defined in:
lib/irb/command/backtrace.rb

Instance Attribute Summary

Attributes inherited from Base

#irb_context

Instance Method Summary collapse

Methods inherited from DebugCommand

category, description

Methods inherited from Debug

#execute_debug_command

Methods inherited from Base

category, description, execute, help_message, #initialize

Constructor Details

This class inherits a constructor from IRB::Command::Base

Instance Method Details

#execute(arg) ⇒ Object



10
11
12
# File 'lib/irb/command/backtrace.rb', line 10

def execute(arg)
  execute_debug_command(pre_cmds: "backtrace #{arg}")
end