Method: Tap::Task#fork

Defined in:
lib/tap/task.rb

#fork(*targets) ⇒ Object

Sets a fork workflow pattern for self; each target will enque the results of self.



351
352
353
354
# File 'lib/tap/task.rb', line 351

def fork(*targets)
  options = targets[-1].kind_of?(Hash) ? targets.pop : {}
  Join.new(options, app).join([self], targets)
end