Class: Debugger::BreakpointsCommand
- Defined in:
- lib/ruby-debug/commands/breakpoints.rb
Overview
:nodoc:
Constant Summary
Constants inherited from Command
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Command
commands, inherited, #initialize, load_commands, #match, method_missing, options
Constructor Details
This class inherits a constructor from Debugger::Command
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Debugger::Command
Class Method Details
.help(cmd) ⇒ Object
83 84 85 86 87 |
# File 'lib/ruby-debug/commands/breakpoints.rb', line 83 def help(cmd) %{ b[reak]\tlist breakpoints } end |
.help_command ⇒ Object
79 80 81 |
# File 'lib/ruby-debug/commands/breakpoints.rb', line 79 def help_command 'break' end |
Instance Method Details
#execute ⇒ Object
74 75 76 |
# File 'lib/ruby-debug/commands/breakpoints.rb', line 74 def execute print_breakpoints Debugger.breakpoints end |
#regexp ⇒ Object
70 71 72 |
# File 'lib/ruby-debug/commands/breakpoints.rb', line 70 def regexp /^\s*b(?:reak)?$/ end |