Class: Debugger::StartCommand
- Inherits:
-
Command
- Object
- SimpleDelegator
- Command
- Debugger::StartCommand
show all
- Defined in:
- lib/ruby-debug-ide/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, file_filter_supported?, #find, inherited, #initialize, load_commands, #match, method_missing, options, unescape_incoming
Class Method Details
.help(cmd) ⇒ Object
92
93
94
95
96
|
# File 'lib/ruby-debug-ide/commands/control.rb', line 92
def help(cmd)
%{
run prog script
}
end
|
.help_command ⇒ Object
88
89
90
|
# File 'lib/ruby-debug-ide/commands/control.rb', line 88
def help_command
'start'
end
|
Instance Method Details
#execute ⇒ Object
82
83
84
85
|
# File 'lib/ruby-debug-ide/commands/control.rb', line 82
def execute
@printer.print_debug("Starting: running program script")
Debugger.run_prog_script end
|
#regexp ⇒ Object
78
79
80
|
# File 'lib/ruby-debug-ide/commands/control.rb', line 78
def regexp
/^\s*(start)(\s+ \S+ .*)?$/x
end
|