On 18.11.2008 23:56, David Spitzer wrote:

> Aha it worked!:
> 
> puts 'I think ' + (number.to_i + 1).to_s + ' may be a better favorite 
> number though...'

I'd rather do

puts "I think #{number.to_i + 1} may be a better favorite number though..."

Or, if you are a fan of printf

printf "I think %d may be a better favorite number though...\n",
   number.to_i + 1

Kind regards

	robert