Class: Byebug::OptionSetter

Inherits:
Object
  • Object
show all
Defined in:
lib/byebug/option_setter.rb

Overview

Handles byebug’s command line options

Instance Method Summary collapse

Constructor Details

#initialize(runner, opts) ⇒ OptionSetter

Returns a new instance of OptionSetter.



6
7
8
9
# File 'lib/byebug/option_setter.rb', line 6

def initialize(runner, opts)
  @runner = runner
  @opts = opts
end

Instance Method Details

#setupObject



11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/byebug/option_setter.rb', line 11

def setup
  debug
  include_flag
  post_mortem
  quit
  rc
  stop
  require_flag
  remote
  trace
  version
  help
end