Class: Aef::Migrator::AbstractAdapter

Inherits:
Object
  • Object
show all
Includes:
Adapter
Defined in:
lib/aef/migrator/abstract_adapter.rb

Overview

This class implements the interface for an adapter required by Aef::Migrator and could be used as an abstract base class. See also: Adapter

Instance Method Summary collapse

Methods included from Adapter

#process, #revert, #version, #version=, #versions

Constructor Details

#initializeAbstractAdapter

Returns a new instance of AbstractAdapter.

Raises:

  • (NotImplementedError)


23
24
25
# File 'lib/aef/migrator/abstract_adapter.rb', line 23

def initialize
  raise NotImplementedError, 'Abstract class' if self.class == Aef::Migrator::AbstractAdapter
end