From: Ryan Davis Date: 2009-06-26T03:32:16+09:00 Subject: Re: Ruby Output Problem On Jun 25, 2009, at 11:24 , Ben Lovell wrote: > gets adds a newline so you should use chomp. not quite. gets reads the newline that the user entered.