Class: IRB::Command::Catch
- Inherits:
-
DebugCommand
- Object
- Base
- Debug
- DebugCommand
- IRB::Command::Catch
- Defined in:
- lib/irb/command/catch.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from DebugCommand
Methods inherited from Debug
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/catch.rb', line 10 def execute(arg) execute_debug_command(pre_cmds: "catch #{arg}") end |