From: Joel Pearson Date: 2013-03-27T17:32:20+09:00 Subject: Re: Chris Pine Tutorial 99 Bottles of Beer Program Josh Cheek wrote in post #1103316: > On Tue, Mar 26, 2013 at 3:11 AM, Joel Pearson > wrote: > >> You should, as previously stated, use #downto. >> You're also repeatedly calling to_s. Either use interpolation or just do >> bottles_of_beer.to_s! before adding it to other strings. >> >> > Fixnum#to_s! doesn't exit. I stand corrected! In that case, "bottles_of_beer = bottles_of_beer.to_s" Either way, interpolation looks clearer and neater. -- Posted via http://www.ruby-forum.com/.