Class: Checkoff::Internal::ConfigLoader

Inherits:
Object
  • Object
show all
Defined in:
lib/checkoff/internal/config_loader.rb

Overview

Load configuration file

Class Method Summary collapse

Class Method Details

.load(sym) ⇒ EnvFallbackConfigLoader

Parameters:

  • sym (Symbol)

Returns:



56
57
58
59
# File 'lib/checkoff/internal/config_loader.rb', line 56

def load(sym)
  yaml_result = load_yaml_file(sym)
  EnvFallbackConfigLoader.new(yaml_result, sym, yaml_filename(sym))
end