Class: Byebug::VarGlobalCommand
- Inherits:
-
Command
- Object
- Command
- Byebug::VarGlobalCommand
show all
- Defined in:
- lib/byebug/commands/variables.rb
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
.description ⇒ Object
100
101
102
|
# File 'lib/byebug/commands/variables.rb', line 100
def description
%{v[ar] g[lobal]\t\t\tshow global variables}
end
|
.names ⇒ Object
96
97
98
|
# File 'lib/byebug/commands/variables.rb', line 96
def names
%w(var)
end
|
Instance Method Details
#execute ⇒ Object
91
92
93
|
# File 'lib/byebug/commands/variables.rb', line 91
def execute
var_global
end
|
#regexp ⇒ Object
87
88
89
|
# File 'lib/byebug/commands/variables.rb', line 87
def regexp
/^\s* v(?:ar)? \s+ g(?:lobal)? \s*$/x
end
|