Class: BiblioTech::Builders::Database
- Defined in:
- lib/bibliotech/builders/database.rb
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
adapter_registry, for, #initialize, null_adapter, register, registry, supported_adapters
Constructor Details
This class inherits a constructor from BiblioTech::Builders::Base
Class Method Details
.find_class(config) ⇒ Object
6 7 8 9 10 |
# File 'lib/bibliotech/builders/database.rb', line 6 def self.find_class(config) adapter_registry.fetch(config.adapter.to_s) do raise "config.adapter is #{config.adapter.inspect} - supported adapters are #{supported_adapters.join(", ")}" end end |