Class: Byebug::DisplayCommand
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Command
commands, find, format_subcmd, format_subcmds, help, inherited, #initialize, load_commands, #match
Class Method Details
.always_run ⇒ Object
51
52
53
|
# File 'lib/byebug/commands/display.rb', line 51
def self.always_run
2
end
|
.description ⇒ Object
68
69
70
|
# File 'lib/byebug/commands/display.rb', line 68
def description
%{disp[lay]\t\tdisplay expression list}
end
|
.names ⇒ Object
64
65
66
|
# File 'lib/byebug/commands/display.rb', line 64
def names
%w(display)
end
|
Instance Method Details
#execute ⇒ Object
59
60
61
|
# File 'lib/byebug/commands/display.rb', line 59
def execute
print_display_expressions
end
|
#regexp ⇒ Object
55
56
57
|
# File 'lib/byebug/commands/display.rb', line 55
def regexp
/^\s* disp(?:lay)? \s*$/x
end
|