Method: WithConnection::ConnectionPool#has_connection?
- Defined in:
- lib/with_connection/connection_pool.rb
#has_connection? ⇒ Boolean
15 16 17 |
# File 'lib/with_connection/connection_pool.rb', line 15 def has_connection? !! @reserved_connections[current_connection_id] end |