Class: Debugger::ContinueCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/ruby-debug/commands/stepping.rb

Overview

:nodoc:

Constant Summary

Constants inherited from Command

Debugger::Command::DEF_OPTIONS

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Command

commands, #find, 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



101
102
103
104
105
# File 'lib/ruby-debug/commands/stepping.rb', line 101

def help(cmd)
  %{
    c[ont]\trun until program ends or hit breakpoint
  }
end

.help_commandObject



97
98
99
# File 'lib/ruby-debug/commands/stepping.rb', line 97

def help_command
  'cont'
end

Instance Method Details

#executeObject



92
93
94
# File 'lib/ruby-debug/commands/stepping.rb', line 92

def execute
  @state.proceed
end

#regexpObject



88
89
90
# File 'lib/ruby-debug/commands/stepping.rb', line 88

def regexp
  /^\s*c(?:ont)?$/
end