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

Class Method Details

.spec_locationString

Returns location of abstract adapter spec files. Intended for re-usable testing of adapter implementations.

Returns:

  • (String)

    Path to location of spec files.



18
19
20
# File 'lib/persistence/adapter/abstract.rb', line 18

def self.spec_location
  return File.expand_path( File.dirname( __FILE__ ) + '/../../../spec/persistence/adapter/spec_abstract/' )    
end