Method: Redis#with

Defined in:
lib/redis.rb

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Redis)

    the object that the method was called on



94
95
96
# File 'lib/redis.rb', line 94

def with
  yield self
end