Method: Dalli::Client#with

Defined in:
lib/dalli/client.rb

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

Stub method so a bare Dalli client can pretend to be a connection pool.

Yields:

  • (_self)

Yield Parameters:

  • _self (Dalli::Client)

    the object that the method was called on



328
329
330
# File 'lib/dalli/client.rb', line 328

def with
  yield self
end