Class: Byebug::EnableCommand
- Includes:
- Subcommands
- Defined in:
- lib/byebug/commands/enable.rb,
lib/byebug/commands/enable/display.rb,
lib/byebug/commands/enable/breakpoints.rb
Overview
Reopens the enable
command to define the breakpoints
subcommand
Defined Under Namespace
Classes: BreakpointsSubcommand, DisplaySubcommand
Instance Method Summary collapse
Methods included from Subcommands
#execute, #help, #short_description, #subcommands
Methods inherited from Command
#help, #initialize, #match, subcommands, to_name
Methods included from Helpers::StringHelper
Constructor Details
This class inherits a constructor from Byebug::Command
Instance Method Details
#description ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/byebug/commands/enable.rb', line 17 def description <<-EOD en[able][[ b[reakpoints]| d[isplay])][ n1[ n2[ ...[ nn]]]]] Enables breakpoints or displays. EOD end |
#regexp ⇒ Object
13 14 15 |
# File 'lib/byebug/commands/enable.rb', line 13 def regexp /^\s* en(?:able)? (?:\s+ (.+))? \s*$/x end |