Method: LazyRecord::BaseModule.included

Defined in:
lib/lazy_record/base_module.rb

.included(base) ⇒ Object

Extend these modules when BaseModule is included



21
22
23
24
# File 'lib/lazy_record/base_module.rb', line 21

def self.included(base)
  base.extend ScopedAttrAccessor
  LAZY_RECORD_MODULES.each { |mod| base.extend mod }
end