module Splash::Config

Config namespace

Public Instance Methods

get_config(config_file=CONFIG_FILE) click to toggle source

factory of Configuration Class instance @param [String] config_file the path of the YAML Config file @return [SPlash::Config::Configuration]

# File lib/splash/config.rb, line 368
def get_config(config_file=CONFIG_FILE)
  return @@config ||= Configuration::new(config_file)
end
rehash_config(config_file=CONFIG_FILE) click to toggle source

reset of Configuration Class instance @param [String] config_file the path of the YAML Config file @return [SPlash::Config::Configuration]

# File lib/splash/config.rb, line 375
def rehash_config(config_file=CONFIG_FILE)
  return @@config = Configuration::new(config_file)
end