Method: Ensql::PoolWrapper#with
- Defined in:
- lib/ensql/pool_wrapper.rb
#with {|connection| ... } ⇒ Object
Get a connection from our source pool
17 18 19 |
# File 'lib/ensql/pool_wrapper.rb', line 17 def with(&client_block) @connection_block.call(client_block) end |