module ActivePStore::Inheritance

Public Instance Methods

new(*args) click to toggle source
Calls superclass method
# 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