Module: ActivePStore::Inheritance

Included in:
Base
Defined in:
lib/active_pstore/inheritance.rb

Instance Method Summary collapse

Instance Method Details

#new(*args) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/active_pstore/inheritance.rb', line 3

def new(*args)
  if self == ActivePStore::Base
    raise NotImplementedError, "#{self} is an abstract class and cannot be instantiated."
  else
    super
  end
end