Module: Persistence::Adapter::Abstract
- Defined in:
- lib/persistence/adapter/abstract.rb,
lib/namespaces.rb
Overview
Singleton providing helper methods for writing adapters.
Defined Under Namespace
Modules: EnableDisable, PrimaryKey
Class Method Summary collapse
-
.spec_location ⇒ String
Returns location of abstract adapter spec files.
Class Method Details
.spec_location ⇒ String
Returns location of abstract adapter spec files. Intended for re-usable testing of adapter implementations.
18 19 20 |
# File 'lib/persistence/adapter/abstract.rb', line 18 def self.spec_location return File.( File.dirname( __FILE__ ) + '/../../../spec/persistence/adapter/spec_abstract/' ) end |