6 7 8 9 10 11
# File 'lib/mihari/mixins/database.rb', line 6 def with_db_connection Mihari::Database.connect yield ensure Mihari::Database.close end