From: Josh Cheek Date: 2013-03-27T14:03:10+09:00 Subject: Re: Chris Pine Tutorial 99 Bottles of Beer Program --90e6ba25e8c135f7a804d8e0f488 Content-Type: text/plain; charset=ISO-8859-1 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. --90e6ba25e8c135f7a804d8e0f488 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Mar 26, 2013 at 3:11 AM, Joel Pearson <lists@ruby-forum.com= > wrote:
You should, as previously stated, use #downto.
You're also repeatedly calling to_s. Either use interpolation or just d= o
bottles_of_beer.to_s! before adding it to other strings.

<= br>
Fixnum#to_s! doesn't exit.
--90e6ba25e8c135f7a804d8e0f488--