Last Modified
2010-09-08 18:02:01 +0900
Requires

Description

A helper class that allows you to run a block inside of a fork, and then get the result from that block.

Example:

  forker = Spork::Forker.new do
    sleep 3
    "success"
  end
  
  forker.result # => "success"