steenzout-cfg
steenzout-cfg is a gem to manage configurations.
convention
On your YAML configuration files, the gem name should be the first element.
gem1:
(...)
property: value
gem2:
(...)
property: value
usage
require 'rubygems
require 'steenzout-cfg'
# load the configuration
Steenzout::ConfigurationManager.load 'configuration.yaml'
# access a specific gem configuration
config = Steenzout::ConfigurationManager.configuration_for_gem 'steenzout-cfg'