Method: Pokeedex::Configuration#db_connection
- Defined in:
- lib/pokeedex/configuration.rb
#db_connection ⇒ Object
Return the database connection to the database file to use for the gem (default: /path/to/pokeedex/db/pokeedex_local.sqlite3)
37 38 39 |
# File 'lib/pokeedex/configuration.rb', line 37 def db_connection Sequel.sqlite(db_path) end |