Class: Kuroko2::Workflow::Task::ParallelFork

Inherits:
Fork
  • Object
show all
Defined in:
lib/autoload/kuroko2/workflow/task/parallel_fork.rb

Instance Method Summary collapse

Methods inherited from Fork

#execute

Methods inherited from Base

#execute, #initialize

Constructor Details

This class inherits a constructor from Kuroko2::Workflow::Task::Base

Instance Method Details

#validateObject



5
6
7
8
# File 'lib/autoload/kuroko2/workflow/task/parallel_fork.rb', line 5

def validate
  super
  raise Workflow::AssertionError, "ParallelFork must have a parallel size (Int)" unless option.present? && option.match(/\A\d+\z/)
end