Class: Snowglobe::DatabaseAdapters::SQLite3
- Inherits:
-
Object
- Object
- Snowglobe::DatabaseAdapters::SQLite3
- Defined in:
- lib/snowglobe/database_adapters/sqlite3.rb
Class Method Summary collapse
Instance Method Summary collapse
- #adapter ⇒ Object
- #database ⇒ Object
-
#initialize(_database) ⇒ SQLite3
constructor
A new instance of SQLite3.
- #require_dependencies ⇒ Object
Constructor Details
#initialize(_database) ⇒ SQLite3
Returns a new instance of SQLite3.
8 9 |
# File 'lib/snowglobe/database_adapters/sqlite3.rb', line 8 def initialize(_database) end |
Class Method Details
.name ⇒ Object
4 5 6 |
# File 'lib/snowglobe/database_adapters/sqlite3.rb', line 4 def self.name :sqlite3 end |
Instance Method Details
#adapter ⇒ Object
11 12 13 |
# File 'lib/snowglobe/database_adapters/sqlite3.rb', line 11 def adapter self.class.name end |
#database ⇒ Object
15 16 17 |
# File 'lib/snowglobe/database_adapters/sqlite3.rb', line 15 def database "db/db.sqlite3" end |
#require_dependencies ⇒ Object
19 20 21 |
# File 'lib/snowglobe/database_adapters/sqlite3.rb', line 19 def require_dependencies require "sqlite3" end |