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) ⇒ Hash<Symbol, Object>

@sg-ignore

Returns:

  • (Hash<Symbol, Object>)


54
55
56
57
# File 'lib/checkoff/internal/config_loader.rb', line 54

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