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.



8
9
10
11
# File 'lib/byebug/option_setter.rb', line 8

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

Instance Method Details

#setupObject



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

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