Sha256: c8fb3fce63bb25b23b7f767ad6c9cb0a026e2ec63abad3d248a0f14714f009bc

Contents?: true

Size: 231 Bytes

Versions: 1

Compression:

Stored size: 231 Bytes

Contents

require 'memcached'

class MemcacheAuth < Memcached
  def initialize(servers = nil, opts = {})
    if !servers && ENV['MEMCACHE_SERVERS']
      servers = ENV['MEMCACHE_SERVERS'].split(',')
    end
    super(servers, opts)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
memcache-auth-0.2.1 lib/memcacheauth.rb