Skip to content

Instantly share code, notes, and snippets.

View sur's full-sized avatar

Sur Max sur

View GitHub Profile
@sur
sur / app_config.rb
Created September 20, 2012 11:53 — forked from wrs/app_config.rb
Simple Rails app configuration class
# Simple configuration system
#
# The configuration is represented as a tree of keys. Examples:
#
# AppConfig['key']
# AppConfig['key','subkey']
# AppConfig['key.subkey']
#
# An optional default value can be specified:
#