class Byebug::ScriptProcessor

Processes commands from a file

Public Instance Methods

commands() click to toggle source

Available commands

Calls superclass method
# File lib/byebug/processors/script_processor.rb, line 11
def commands
  super.select(&:allow_in_control)
end
repl() click to toggle source
# File lib/byebug/processors/script_processor.rb, line 15
def repl
  while (input = interface.read_command(prompt))
    safely do
      command = command_list.match(input)
      raise CommandNotFound.new(input) unless command

      command.new(self, input).execute
    end
  end