Class: IRB::Command::Catch

Inherits:
DebugCommand show all
Defined in:
lib/irb/command/catch.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/catch.rb', line 10

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