Module: PersonName::ActiveRecord::Core

Defined in:
lib/person_name.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



39
40
41
42
43
# File 'lib/person_name.rb', line 39

def self.included(base)
				base.send :include, PersonName::ActiveRecord::Core::InstanceMethods
				base.extend PersonName::ActiveRecord::Core::ClassMethods
  base.initialize_person_names
end