Robert Klemme wrote:
> On 18.11.2008 23:56, David Spitzer wrote:
> puts "I think #{number.to_i + 1} may be a better favorite number 
> though..."

I think you can skip the .to_i when the number is inside #{}. In other 
words, I think it would be valid and a little more readable to say:

puts "I think #{number + 1} may be a better favorite number though..."
-- 
Posted via http://www.ruby-forum.com/.