Class: Depository::Database
- Inherits:
-
Object
- Object
- Depository::Database
- Defined in:
- lib/depository/database.rb
Class Method Summary collapse
Class Method Details
.[](name) ⇒ Object
18 19 20 |
# File 'lib/depository/database.rb', line 18 def [](name) self.db[name] end |
.db ⇒ Object
10 11 12 |
# File 'lib/depository/database.rb', line 10 def self.db dp.dup end |
.use_db(db) ⇒ Object
14 15 16 |
# File 'lib/depository/database.rb', line 14 def use_db(db) self.db = db end |