[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] ForkAndReturn 0.1.1

Erik Veenstra

7/20/2008 6:11:00 PM

ForkAndReturn 0.1.1 is released.

ForkAndReturn implements a couple of methods that simplify
running a block of code in a subprocess. The result (Ruby
object or exception) of the block will be available in the
parent process.

ForkAndReturn also enriches Enumerable with a couple of methods
(e.g. Enumerable#concurrent_collect()), in order to simplify
the concurrent execution of a block for a collection of objects.

RDoc: http://www.erikve...forkandreturn/doc/...
Download: http://rubyforge.org/projects/forkandreturn/...

gegroet,
Erik V. - http://www.erikve...

----------------------------------------------------------------

0.1.1 (19-07-2008)

* Added example.txt.

* at_exit blocks defined in the child itself will be executed
in the child, whereas at_exit blocks defined in the parent
won=91t be executed in the child. (In the previous version,
the at_exit blocks defined in the child weren=91t be executed
at all.)

* Added File#chmod(0600), so the temporary file with the
intermediate results can=91t be read by other people.

----------------------------------------------------------------