Module: DataMapper::Transaction::Resource
- Defined in:
- lib/dm-transactions.rb
Overview
module Model
Instance Method Summary collapse
-
#transaction ⇒ Adapters::Transaction
Produce a new Transaction for the class of this Resource.
Instance Method Details
#transaction ⇒ Adapters::Transaction
Produce a new Transaction for the class of this Resource
386 387 388 |
# File 'lib/dm-transactions.rb', line 386 def transaction model.transaction { |*block_args| yield(*block_args) } end |