On Tue, Apr 22, 2008 at 3:08 PM, Tim Wolak <twolak / sktydev.com> wrote: > > > I didn't realize this before, but even if it's off topic, I thought > > I'd bring it up. > > > > Hashes -- during creation -- allow assignment more than once in 1.8.6 > > with the last one taking precedence > > > > Is that somehow common knowledge that I missed in the Pickaxe? Just > > one of those little things, I guess. > > > > irb(main):002:0> h = {[1, 2, 3] => [4, 5, 6], [1, 2, 3] => [7, 8, 9]} > > => {[1, 2, 3]=>[7, 8, 9]} > > > > Todd > > > Ouch, I guess that would be a bad thing... If I'm going line by line then I > would think I would be ok then as the hash is closed after I finish to take > on the next line correct? > > Hmmm nice catch Todd! Hi Tim, I didn't have a close look at your original post, but in all honesty you should probably listen to David. I just brought up a surprise in Hash creation that I didn't expect. I don't think it would affect your code. Todd