Doan, Alex
5/3/2007 5:51:00 PM
Duplicate array items shouldn't matter b/c your key value is the index
and not the value no?
-----Original Message-----
From: james.d.masters@gmail.com [mailto:james.d.masters@gmail.com]
Sent: Thursday, May 03, 2007 1:45 PM
To: ruby-talk ML
Subject: Re: Array to Hash
On May 3, 10:41 am, james.d.mast...@gmail.com wrote:
> When values are false. Replace condition from "! value" to
> "value.nil?".
Spoke too soon... also when duplicate array items exist...