Class: Redis::Store

Inherits:
Object
  • Object
show all
Defined in:
lib/redis/pooled_store.rb

Class Method Summary collapse

Class Method Details

.new(*args) ⇒ Object



31
32
33
34
35
36
37
# File 'lib/redis/pooled_store.rb', line 31

def new(*args)
  if args.size == 1 && args.first.is_a?(Hash) && args.first[:pool]
    PooledStore.new(*args)
  else
    super(*args)
  end
end