lib/raidis/redis_wrapper.rb
# Public: Proxies everything to the Redis backend.
#
# Returns whatever the backend returns.
# Raises Raidis::ConnectionError if there is a connection problem.
#
Proxies everything to the Redis backend.
Returns whatever the backend returns.
Raises Raidis::ConnectionError if there is a connection problem.
Proxies everything to the Redis backend . Returns whatever the backend returns . Raises Raidis :: ConnectionError if there is a connection problem .
def method_missing(method, *args, &block)
      fail(Raidis::ConnectionError, 'No Redis backend found.') unless redis
      reloading_connection do
        observing_connection { redis.send(method, *args, &block) }
      end
    end
def method_missing ( method , * args , & block ) fail ( Raidis :: ConnectionError , 'No Redis backend found.' ) unless redis reloading_connection do observing_connection { redis . send ( method , * args , & block ) } end end
Public: Proxies everything to the Redis backend.
Public : Proxies everything to the Redis backend .
method
args
block