Class: Referral::ParsesOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/referral/parses_options.rb

Instance Method Summary collapse

Instance Method Details

#call(argv) ⇒ Object



6
7
8
9
10
11
# File 'lib/referral/parses_options.rb', line 6

def call(argv)
  options = snake_case(run_optparse(argv))
  Value::Options.default.merge(
    merge_files(options, argv)
  ).freeze
end