> 
>   hash[age] = [] unless hash.has_key?(age) # make sure there's a hash 
> key
>   hash[age] << name
> }
> 
>

That line containing only the word "key" is still part of the
"# make sure there's a hash" comment, and should not be on a
 new line in your program. It just got word-wrapped by accident
 when I posted it.
-- 
Posted via http://www.ruby-forum.com/.