Class: Byebug::DisplayCommand
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, #print_subcmds, register_setting_get, register_setting_set, register_setting_var, settings, settings_map
Class Method Details
.help(cmd) ⇒ Object
73
74
75
76
77
|
# File 'lib/byebug/commands/display.rb', line 73
def help(cmd)
%{
disp[lay]\t\tdisplay expression list
}
end
|
.help_command ⇒ Object
69
70
71
|
# File 'lib/byebug/commands/display.rb', line 69
def help_command
'display'
end
|
Instance Method Details
#execute ⇒ Object
64
65
66
|
# File 'lib/byebug/commands/display.rb', line 64
def execute
print_display_expressions
end
|
#regexp ⇒ Object
60
61
62
|
# File 'lib/byebug/commands/display.rb', line 60
def regexp
/^\s*disp(?:lay)?$/
end
|