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, 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



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

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

.help_commandObject



94
95
96
# File 'lib/ruby-debug/commands/stepping.rb', line 94

def help_command
  'cont'
end

Instance Method Details

#executeObject



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

def execute
  @state.proceed
end

#regexpObject



85
86
87
# File 'lib/ruby-debug/commands/stepping.rb', line 85

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