Method: Mooncell::ConnectionPool#each

Defined in:
lib/mooncell/connection_pool.rb

#each(&block) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Iterate connections

Parameters:

  • block (Proc)

    the iterate block

Since:

  • 0.1.0



35
36
37
# File 'lib/mooncell/connection_pool.rb', line 35

def each(&block)
  @connections.each(&block)
end