vendor/gems/app_config-1.2.0/lib/app_config.rb
# Rereads your configuration files and rebuilds your ApplicationConfiguration object.  This is useful
# for when you edit your config files, but don't want to restart your web server.
Rereads your configuration files and rebuilds your ApplicationConfiguration object.  This is useful
for when you edit your config files, but don't want to restart your web server.
Rereads your configuration files and rebuilds your ApplicationConfiguration object . This is useful for when you edit your config files but don ' t want to restart your web server .
def reload!
    @config_hash = {}
    @conf_paths.each do |path|
      conf = load_conf_file(path)
      @config_hash = recursive_merge(@config_hash, conf)
    end
    @config = ClosedStruct.r_new(@config_hash)
  end
def reload! @config_hash = { } @conf_paths . each do | path | conf = load_conf_file ( path ) @config_hash = recursive_merge ( @config_hash , conf ) end @config = ClosedStruct . r_new ( @config_hash ) end
Rereads your configuration files and rebuilds your ApplicationConfiguration object.
Rereads your configuration files and rebuilds your ApplicationConfiguration object .