Class: Debugger::InterruptCommand
- Inherits:
-
Command
- Object
- Command
- Debugger::InterruptCommand
show all
- Defined in:
- lib/ruby-debug/commands/control.rb
Overview
Constant Summary
Constants inherited
from Command
Command::DEF_OPTIONS
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Command
commands, #find, inherited, #initialize, load_commands, #match, method_missing, options, register_setting_get, register_setting_set, register_setting_var, settings, settings_map
Class Method Details
.help(cmd) ⇒ Object
99
100
101
102
103
|
# File 'lib/ruby-debug/commands/control.rb', line 99
def help(cmd)
%{
i[nterrupt]\tinterrupt the program
}
end
|
.help_command ⇒ Object
95
96
97
|
# File 'lib/ruby-debug/commands/control.rb', line 95
def help_command
'interrupt'
end
|
Instance Method Details
#regexp ⇒ Object
83
84
85
|
# File 'lib/ruby-debug/commands/control.rb', line 83
def regexp
/^\s*i(?:nterrupt)?\s*$/
end
|