Class: SimpleMapper::Base

Inherits:
Object show all
Defined in:
lib/simple_mapper/base.rb

Class Method Summary collapse

Class Method Details

.inherited(klass) ⇒ Object



4
5
6
7
# File 'lib/simple_mapper/base.rb', line 4

def self.inherited(klass)
  SimpleMapper::Persistence::prepare_for_inheritance(klass)
  klass.send(:include, SimpleMapper::Persistence)
end