From: Tony Arcieri Date: 2009-10-02T06:26:32+09:00 Subject: Re: how do you do this --0016e6d3cf146c6f6c0474e62f4e Content-Type: text/plain; charset=ISO-8859-1 On Thu, Oct 1, 2009 at 6:38 AM, Paul Smith wrote: > > Must.... master..... inject..... > I think it's much more readable to build hashes with something like: h = {} blah.each do |v| h[...] = ... end than: blah.inject({}) do |h, v| h[...] = ... h end Gratuitous use of inject FTL. Ruby isn't an immutable state functional language. -- Tony Arcieri Medioh/Nagravision --0016e6d3cf146c6f6c0474e62f4e--