Class: Checkoff::Internal::ConfigLoader
- Inherits:
-
Object
- Object
- Checkoff::Internal::ConfigLoader
- Defined in:
- lib/checkoff/internal/config_loader.rb
Overview
Load configuration file
Class Method Summary collapse
-
.load(sym) ⇒ Hash<Symbol, Object>
@sg-ignore.
Class Method Details
.load(sym) ⇒ Hash<Symbol, Object>
@sg-ignore
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 |