Class: Persey::Adapters::Ini
Class Method Summary collapse
Methods inherited from Base
config_exists?, symbolize_keys
Class Method Details
.load(file, _env, opts: {}) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/persey/adapters/ini.rb', line 9 def load(file, _env, opts: {}) raw_hash = IniFile.load(file).to_h symbolize_keys(raw_hash) rescue puts "FATAL: Error while process config from file '#{file}'" end |