Class: FileConfigParser
- Inherits:
-
Object
- Object
- FileConfigParser
- Defined in:
- lib/hiptest-publisher/options_parser.rb
Class Method Summary collapse
Class Method Details
.update_options(options, reporter) ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/hiptest-publisher/options_parser.rb', line 9 def self.(, reporter) config = ParseConfig.new(.config) config.get_params.each do |param| next if .__cli_args && .__cli_args.include?(param.to_sym) [param] = config[param] .__config_args << param.to_sym if .__config_args end rescue => err reporter.dump_error(err) end |