configurer
# to use in your class
class Foo
extend Configurer; config :redis
def
redis.set "foo", "bar"
end
end
# to set globally
WORLDWIDE.redis { }
# or to set just for foo
Foo.config.redis { }
Copyright
Copyright © 2010 Joe Edelman, Citizen Logistics, Inc. See LICENSE for details.