Class: Counter::Cache::Credis::RedisCli

Inherits:
Object
  • Object
show all
Defined in:
lib/counter/cache/credis/redis_cli.rb

Constant Summary collapse

REDISCLI =
Redis.new

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(meth, *args, &blk) ⇒ Object



15
16
17
# File 'lib/counter/cache/credis/redis_cli.rb', line 15

def method_missing(meth, *args, &blk)
  REDISCLI.send(meth, *args,  &blk)
end