Class: Debugger::DisplayCommand
- Inherits:
-
Command
- Object
- Command
- Debugger::DisplayCommand
show all
- Defined in:
- lib/ruby-debug/commands/display.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
63
64
65
66
67
|
# File 'lib/ruby-debug/commands/display.rb', line 63
def help(cmd)
%{
disp[lay]\t\tdisplay expression list
}
end
|
.help_command ⇒ Object
59
60
61
|
# File 'lib/ruby-debug/commands/display.rb', line 59
def help_command
'display'
end
|
Instance Method Details
#execute ⇒ Object
54
55
56
|
# File 'lib/ruby-debug/commands/display.rb', line 54
def execute
print_display_expressions
end
|
#regexp ⇒ Object
50
51
52
|
# File 'lib/ruby-debug/commands/display.rb', line 50
def regexp
/^\s*disp(?:lay)?$/
end
|