class SugarCane::SimpleTaskRunner
Mirrors the Parallel gem's interface but does not provide any parallelism. This is faster for smaller tasks since it doesn't incur any overhead for creating new processes and communicating between them.
Public Class Methods
map(enumerable, &block)
click to toggle source
# File lib/sugarcane/task_runner.rb, line 16 def self.map(enumerable, &block) enumerable.map(&block) end