Module: Purobu::DatabaseConnection::Helper

Defined in:
lib/purobu/database_connection.rb

Instance Method Summary collapse

Instance Method Details

#database_connection(url, &block) ⇒ Object



32
33
34
# File 'lib/purobu/database_connection.rb', line 32

def database_connection(url, &block)
  Purobu::DatabaseConnection.new(url).connect(&block)
end