Module: Redisk::Helper

Included in:
IO, IO, Logger, Logger, Stat, Stat
Defined in:
lib/redisk/helper.rb

Instance Method Summary collapse

Instance Method Details

#redisObject



4
5
6
# File 'lib/redisk/helper.rb', line 4

def redis
  Redisk.redis
end

#redis=(server) ⇒ Object



8
9
10
# File 'lib/redisk/helper.rb', line 8

def redis=(server)
  Redisk.redis=(server)
end