Class: Idempo::RedisBackend::NullPool

Inherits:
Struct
  • Object
show all
Defined in:
lib/idempo/redis_backend.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#redisObject

Returns the value of attribute redis

Returns:

  • (Object)

    the current value of redis



61
62
63
# File 'lib/idempo/redis_backend.rb', line 61

def redis
  @redis
end

Instance Method Details

#with {|redis| ... } ⇒ Object

Yields:



62
63
64
# File 'lib/idempo/redis_backend.rb', line 62

def with
  yield redis
end