Ah so the @@cars[make] = 50 is setting the key for the hash. Hm.

Alex Gutteridge wrote in post #1122405:
[...]
> If your question is why is the default count 50 then I have no idea!

No in original code it was set to 0. I just changed it to see what 
happens and then copied the code to gist.

Thank you Alex.

I need to spend an hour on Ruby hashes before moving forward in the 
book.

Thanks again.

-- 
Posted via http://www.ruby-forum.com/.