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

Class Method Details

.help(cmd) ⇒ Object



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

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

.help_commandObject



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

def help_command
  'cont'
end

Instance Method Details

#executeObject



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

def execute
  @state.proceed
end

#regexpObject



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

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