Sha256: 8f0df5047f8c3ae6add93ee158a32abea30a2f1fc819661fb24ba90e66980eda

Contents?: true

Size: 281 Bytes

Versions: 7

Compression:

Stored size: 281 Bytes

Contents

module Fume
  
  class AppSettingLoader

    def self.try_enable(app)
      %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
    
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fume-0.8.1a lib/fume/app_setting_loader.rb
fume-0.8.0 lib/fume/app_setting_loader.rb
fume-0.8.0b lib/fume/app_setting_loader.rb
fume-0.8.0a lib/fume/app_setting_loader.rb
fume-0.7.2 lib/fume/app_setting_loader.rb
fume-0.7.1 lib/fume/app_setting_loader.rb
fume-0.7.0 lib/fume/app_setting_loader.rb