Sha256: 90cf6421d63672bebb9664581196919e1ba449b62b80b0de53d68f73af3a74ae

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

require 'socket'

class Redis
  VERSION = "1.0.5"

  def self.new(*attrs)
    Client.new(*attrs)
  end
end

begin
  if RUBY_VERSION >= '1.9'
    require 'timeout'
    Redis::Timer = Timeout
  else
    require 'system_timer'
    Redis::Timer = SystemTimer
  end
rescue LoadError
  Redis::Timer = nil
end

require 'redis/client'
require 'redis/pipeline'
require 'redis/subscribe'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redis-1.0.5 lib/redis.rb