Class: Standard::ResolvesYamlOption

Inherits:
Object
  • Object
show all
Defined in:
lib/standard/resolves_yaml_option.rb

Instance Method Summary collapse

Instance Method Details

#call(argv, search_path, option_name, default_file) ⇒ Object



5
6
7
# File 'lib/standard/resolves_yaml_option.rb', line 5

def call(argv, search_path, option_name, default_file)
  search_argv(argv, option_name) || FileFinder.new.call(default_file, search_path)
end