Rick Denatale wrote:
> 2009/7/24 Marcin Grski <agormar / gmail.com>:
> This means that you can't rely on a particular order, so even though
> JRuby enumerates this particular hash in that order, and 1.8.7
> enumerates in a different order, they both are compatible with the
> documented behavior.

Thank you for your answers. I solved my problem without relying on 
each_key using additional arrays, uniq and has_key?.
-- 
Posted via http://www.ruby-forum.com/.