Class: Byebug::DisableCommand
- Includes:
- Subcommands
- Defined in:
- lib/byebug/commands/disable.rb,
lib/byebug/commands/disable/display.rb,
lib/byebug/commands/disable/breakpoints.rb
Overview
Reopens the disable
command to define the breakpoints
subcommand
Defined Under Namespace
Classes: BreakpointsCommand, DisplayCommand
Instance Attribute Summary
Attributes inherited from Command
Class Method Summary collapse
Methods included from Subcommands
Methods inherited from Command
#arguments, columnize, #context, #frame, help, #initialize, match, to_s
Methods included from Helpers::StringHelper
Constructor Details
This class inherits a constructor from Byebug::Command
Class Method Details
.description ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/byebug/commands/disable.rb', line 19 def self.description <<-EOD dis[able][[ breakpoints| display)][ n1[ n2[ ...[ nn]]]]] #{short_description} EOD end |
.regexp ⇒ Object
15 16 17 |
# File 'lib/byebug/commands/disable.rb', line 15 def self.regexp /^\s* dis(?:able)? (?:\s+ (.+))? \s*$/x end |
.short_description ⇒ Object
27 28 29 |
# File 'lib/byebug/commands/disable.rb', line 27 def self.short_description 'Disables breakpoints or displays' end |