Method: DTWorker#do_work
- Defined in:
- lib/datatransit/rule_dsl.rb
#do_work ⇒ Object
117 118 119 120 121 122 123 124 125 |
# File 'lib/datatransit/rule_dsl.rb', line 117 def do_work #we copy all or nothing. a mess is not welcome here #on failures, transaction will rollback automatically DataTransit::Target::TargetBase.transaction do @taskset.each do |task| do_task task end end end |