Here's a "hello world" example derived from the specs. First the configuration file settings.yml
foo: 'hello world'
And the code:
require 'settingslogic'
class Settings < Settingslogic
source "#{File.dirname(__FILE__)}/settings.yml"
end
p Settings.foo # => "hello world"