From: Robert Dober Date: 2009-02-12T05:21:23+09:00 Subject: Re: Array#to_hash On Wed, Feb 11, 2009 at 4:26 PM, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: Array#to_hash" > on Thu, 12 Feb 2009 00:19:10 +0900, Trans writes: > > |Would any problems arise from extending Array with this? > > Nothing I can think of, except that I have never wanted such > conversion from array to hash in my 16 year Ruby programming. ;-) > Yeah the usecase somehow eludes me too. Did you mean {:a => 0, :b => 1, :c =>2 } by any chance? Robert