On Nov 14, 2005, at 5:17 PM, Interfecus wrote:

> This is my first submitted solution. I only started learning ruby  
> in my
> free time 4 days ago, so don't hold back the critique.

Here's a tip that leaped out at me just while glancing at your code.   
We spell:

print obj + "\n"

as:

puts obj

Hope that helps.

James Edward Gray II