Class: DbSession
- Inherits:
-
Sequel::Model
- Object
- Sequel::Model
- DbSession
- Defined in:
- lib/taps/db_session.rb
Instance Method Summary collapse
Instance Method Details
#conn ⇒ Object
13 14 15 16 17 |
# File 'lib/taps/db_session.rb', line 13 def conn Sequel.connect(database_url) do |db| yield db if block_given? end end |