Method: ROM::Transaction#run
- Defined in:
- lib/rom/transaction.rb
#run(opts = EMPTY_HASH) ⇒ 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.
8 9 10 11 12 |
# File 'lib/rom/transaction.rb', line 8 def run(opts = EMPTY_HASH) yield(self) rescue Rollback # noop end |