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
# File 'lib/dm-core/model/hook.rb', line 8

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