Class: Fume::AppSettingLoader

Inherits:
Object
  • Object
show all
Defined in:
lib/fume/app_setting_loader.rb

Class Method Summary collapse

Class Method Details

.init!Object



4
5
6
7
8
9
# File 'lib/fume/app_setting_loader.rb', line 4

def self.init!
  %w[application.extra.rb application.local.rb].each do |config_filename|
    path = Rails.root.join("config", config_filename)
    require path if File.exists?(path)
  end
end