class Byebug::ControlProcessor

Processes commands when there's not program running

Public Class Methods

new(context = nil) click to toggle source
# File lib/byebug/processors/control_processor.rb, line 8
def initialize(context = nil)
  @context = context
end

Public Instance Methods

commands() click to toggle source

Available commands

Calls superclass method
# File lib/byebug/processors/control_processor.rb, line 15
def commands
  super.select(&:allow_in_control)
end
prompt() click to toggle source

Prompt shown before reading a command.

# File lib/byebug/processors/control_processor.rb, line 22
def prompt
  '(byebug:ctrl) '
end