Ok, say I have an array of arbitrary length, and want to create a
concurrent process definition based on that list. this doesn't seem
to work for me:
input_files = ['test1.txt','text2.txt']
pdef = Ruote.process_definition do |p|
sequence do
concurrence do
input_files.each do |f|
worker_node :file => f
end
end
cleanup
end
end
...sorry i couldn't find a good example of this before i posted. i
know i could just build the process definition manually from nested
arrays but that would get a little confusing on a larger scale.
--
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en