From: Dave Thomas Date: 2008-01-23T06:17:21+09:00 Subject: Re: Question about hsh.each_pair On Jan 22, 2008, at 3:07 PM, Jean-nicolas Jolivet wrote: > > Any ideas as to why the hash seems to be re-ordered before the do > block > is executed, and how I can prevent this?? In versions of Ruby prior to 1.9, hashes are intrinsically unordered-- you can never rely on the order of things coming out of them. Perhaps an array or arrays might work better? Dave