# Set custom config options in config/app_cong.yml
# @examples: 
#   AppConf.use_ssl?                  # => false
#   AppConf.site_color                # => "purple"
class AppConf
  SETTINGS_HASH = YAML.load_file( Rails.root.join('config', 'app_conf.yml') )[Rails.env]  
  
  class << self
    def method_missing(method, *args)
      SETTINGS_HASH[method.to_s]  # could use ClassyStruct here for more features and better performance
    end
  end
end