Sha256: 043f7c399f1f63c465469f77e9d3c76cec11de3f5d83065da625c45ed6a5595c

Contents?: true

Size: 352 Bytes

Versions: 1

Compression:

Stored size: 352 Bytes

Contents

require 'socket'

class Redis
  VERSION = "1.0.0"

  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'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redis-1.0.0 lib/redis.rb