From: Jarmo Pertman Date: 2009-05-27T20:46:52+09:00 Subject: threadify not handling hashes inside of array correctly I wanted to use threadify to iterate over my data structure, where inside array I have hashes, but it seems that threadify produces different results than #each. Here is code sample: require 'threadify' a = [] b = {:key => "value"} a << b a.each {|c| p c} a.threadify {|c| p c} Output is: {:key=>"value"} [:key, "value"] Now, if I have multiple key, value pairs in Hash, then I will get this warning of course: warning: multiple values for a block parameter (2 for 1) Why isn't threadify working as expected? It seems as it's iterating over array and hash instead of just over array. Jarmo -- Posted via http://www.ruby-forum.com/.