Module: ConfigFor::Rails
- Defined in:
- lib/config_for/rails.rb
Instance Method Summary collapse
-
#config_for(name) ⇒ ActiveSupport::HashWithIndifferentAccess
Convenience loading of config files.
Instance Method Details
#config_for(name) ⇒ ActiveSupport::HashWithIndifferentAccess
Convenience loading of config files
14 15 16 |
# File 'lib/config_for/rails.rb', line 14 def config_for(name) ConfigFor.load_config!(paths['config'].existent.first, name, ::Rails.env) end |