--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: self
comment: 
- !ruby/struct:SM::Flow::P 
  body: Execute a block within this Transaction.
- !ruby/struct:SM::Flow::P 
  body: "No #begin, #commit or #rollback is performed in #within, but this Transaction will pushed on the per thread stack of transactions for each adapter it is associated with, and it will ensures that it will pop the Transaction away again after the block is finished."
- !ruby/struct:SM::Flow::P 
  body: "@param block&lt;Block&gt; the block of code to execute."
- !ruby/struct:SM::Flow::P 
  body: "@api private"
full_name: DataMapper::Transaction#within
is_singleton: false
name: within
params: () {|self| ...}
visibility: public
