On Mar 7, 2014 6:47 AM, "Regis d&apos;Aubarede" <lists / ruby-forum.com>
wrote:
>
> h=Hash[*array]
> even,odd=h.keys,h.values

Only if there are no duplicate evens.