Module: DataMapper::Model::Hook

Extended by:
Chainable
Defined in:
lib/dm-core/model/hook.rb

Defined Under Namespace

Modules: Methods Classes: MethodCommand, ProcCommand

Class Method Summary collapse

Methods included from Chainable

chainable, extendable

Class Method Details

.included(model) ⇒ Object



8
9
10
11
12
# File 'lib/dm-core/model/hook.rb', line 8

def self.included(model)
  model.send(:include, DataMapper::Hook)
  model.extend Methods
  super
end