# File lib/uri/redis.rb, line 98 def self.uri(conf={}) URI.parse 'redis://%s:%s/%s' % [conf[:host], conf[:port], conf[:db]] end