From: gabriele renzi Date: 2005-04-02T08:19:42+09:00 Subject: Re: Synchronous but different iterators Belorion ha scritto: not sure I understood right, but maybe: see the Enumerator module, it allows you to create an object wich proxies a method like #each_preorder into an #each one, so after that you can simply do: mytree.zip(mytree_enumerator){|x,y| do stuff }