Method: DataMapper::Repository.adapters
- Defined in:
- lib/dm-core/repository.rb
.adapters ⇒ Hash(Symbol => Adapters::AbstractAdapter)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Get the list of adapters registered for all Repositories, keyed by repository name.
TODO: create example
17 18 19 |
# File 'lib/dm-core/repository.rb', line 17 def self.adapters @adapters ||= {} end |