configurer

# to use in your class

class Foo
  extend Configurer; config :redis

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

# to set globally

WORLDWIDE.redis { }

# or to set just for foo

Foo.config.redis { }

Copyright © 2010 Joe Edelman, Citizen Logistics, Inc. See LICENSE for details.