S
Skave Rat
is there a way to parallelize ruby methods?
So I can do something like this:
------------
5.times do
Foobar.new("somestuff")
end
#do stuff while Foobar-objects are running
------
so the script creates 5 objects, and just lets them do their job, while
running the rest of the code.
meh, I really hope you understand what i mean
So I can do something like this:
------------
5.times do
Foobar.new("somestuff")
end
#do stuff while Foobar-objects are running
------
so the script creates 5 objects, and just lets them do their job, while
running the rest of the code.
meh, I really hope you understand what i mean