Class: Escort::GlobalPreParser

Inherits:
Object
  • Object
show all
Defined in:
lib/escort/global_pre_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(setup) ⇒ GlobalPreParser


5
6
7
# File 'lib/escort/global_pre_parser.rb', line 5

def initialize(setup)
  @setup = setup
end

Instance Attribute Details

#setupObject (readonly)

Returns the value of attribute setup


3
4
5
# File 'lib/escort/global_pre_parser.rb', line 3

def setup
  @setup
end

Instance Method Details

#parse(cli_options) ⇒ Object


9
10
11
# File 'lib/escort/global_pre_parser.rb', line 9

def parse(cli_options)
  AutoOptions.new(parse_global_options(cli_options))
end