redis://host:port/dbindex
require 'uri/redis' conf = URI.parse 'redis://localhost:8999/2' conf.host # => localhost conf.port # => 8999 conf.db # => 2
Get it in one of the following ways:
gem install uri-redis
git clone git://github.com/delano/uri-redis.git
Delano Mandelbaum (solutious.com)
See LICENSE.txt
Generated with the Darkfish Rdoc Generator 2.