class Redis::Client
def initialize(options = {})
def initialize(options = {}) @path = options[:path] if @path.nil? @host = options[:host] || "127.0.0.1" @port = (options[:port] || 6379).to_i end @db = (options[:db] || 0).to_i @timeout = (options[:timeout] || 5).to_f @password = options[:password] @logger = options[:logger] @reconnect = true @connection = Connection.drivers.last.new end