class IRB::ExtendCommand::DebuggerResumeCommand

FIXME: should we read these out of a directory to

make this more user-customizable?

A base command class that resume execution

Public Class Methods

execute(conf, *opts) click to toggle source
# File cli/ruby-debug/commands/irb.rb, line 10
def self.execute(conf, *opts)
  name = 
    if self.name =~ %rIRB::ExtendCommand::(\S+)/
      $1.downcase
    else
      'unknown'
    end
  $rdebug_args = opts
  $rdebug_command = 
    if $rdebug_irb_statements 
      $rdebug_irb_statements
    else
      ([name] + opts).join(' ')
    end

  throw :IRB_EXIT, name.to_sym
end