Method: WithConnection::ConnectionPool#with_connection_with_debug

Defined in:
lib/with_connection/connection_pool.rb

#with_connection_with_debug(key = nil, read_write = nil, &block) ⇒ Object



27
28
29
30
# File 'lib/with_connection/connection_pool.rb', line 27

def with_connection_with_debug(key=nil, read_write=nil, &block)
  @using_with_connection = true
  with_connection_without_debug(key, read_write, &block).tap { @using_with_connection = false }
end