Class: Arcade::Init
- Inherits:
-
Object
- Object
- Arcade::Init
- Extended by:
- Dry::Core::ClassAttributes
- Defined in:
- lib/init.rb
Overview
Arcade::Init.connect environment
--------------------------------
initializes the database connection and returns the active database handle
The database cannot switched later
Arcade::Init.db
--------------
returns an instance of the database handle