Module: Bio::MAF::JobRunner

Defined in:
lib/bio/maf/jobs.rb

Class Method Summary collapse

Class Method Details

.create(n_parallel) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/bio/maf/jobs.rb', line 7

def JobRunner.create(n_parallel)
  if RUBY_PLATFORM == 'java'
    JThreadRunner.new(n_parallel)
  else
    ForkRunner.new(n_parallel)
  end
end