Method: Sequel::SingleConnectionPool#all_connections

Defined in:
lib/sequel/connection_pool/single.rb

#all_connections {|@conn| ... } ⇒ Object

Yield the connection if one has been made.

Yields:

  • (@conn)


8
9
10
# File 'lib/sequel/connection_pool/single.rb', line 8

def all_connections
  yield @conn if @conn
end