Home > configurer

configurer

Configurer is a project mainly written in Ruby, based on the MIT license.

a new take on ruby app-wide and class-based configuration

= configurer

to use in your class

class Foo extend Configurer config :redis do Redis.new end

def bar
  redis.set "foo", "bar"
end

end

to set globally

WORLDWIDE.redis { Redis.new($options) }

or to set just for foo

Foo.config.redis { Redis.new($local_options) }

== Copyright

Copyright (c) 2010 Joe Edelman, Citizen Logistics, Inc. See LICENSE for details.

Previous:y8-