Class: Byebug::DisplayCommand
Constant Summary
Constants inherited
from Command
Command::DEF_OPTIONS
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Command
command_exists?, commands, find, format_subcmd, format_subcmds, help, inherited, #initialize, load_commands, #match, method_missing, options, register_setting_get, register_setting_set, register_setting_var, settings, settings_map, terminal_width
Class Method Details
.always_run ⇒ Object
48
49
50
|
# File 'lib/byebug/commands/display.rb', line 48
def self.always_run
2
end
|
.description ⇒ Object
65
66
67
|
# File 'lib/byebug/commands/display.rb', line 65
def description
%{disp[lay]\t\tdisplay expression list}
end
|
.names ⇒ Object
61
62
63
|
# File 'lib/byebug/commands/display.rb', line 61
def names
%w(display)
end
|
Instance Method Details
#execute ⇒ Object
56
57
58
|
# File 'lib/byebug/commands/display.rb', line 56
def execute
print_display_expressions
end
|
#regexp ⇒ Object
52
53
54
|
# File 'lib/byebug/commands/display.rb', line 52
def regexp
/^\s* disp(?:lay)? \s*$/x
end
|