On 23.11.2008 15:24, John Bentley wrote:
> Luc Heinrich wrote:
>> What you want is:
>> ltrArray = h.values_at("letters").first
>> numArray = h.values_at("numbers").first
> 
> Oh wow...I've been plugging away at this for 4 hours now and that just 
> fixed my problem.  Thank you so much!
> 
> I'm in the process of learning Ruby through various online mediums so I 
> tend to miss little intricacies like that.

A good tool to try these things out is irb which comes with your Ruby 
distribution.  Since irb by default uses #inspect (the same that method 
"p" uses) to print out objects you can immediately see what's going on.

Kind regards

	robert