Method: DataMapper::Transaction::Model.included
- Defined in:
- lib/dm-transactions.rb
.included(mod) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
360 361 362 |
# File 'lib/dm-transactions.rb', line 360 def self.included(mod) mod.descendants.each { |model| model.extend self } end |