Ok now I understand where it came from. Just triggered the reaction as
the same exact problem came up before.

My humble apologies to the OP. Enjoy learning ruby.

~Stu

On Tue, Jul 19, 2011 at 11:51 AM, Phillip Gawlowski
<cmdjackryan / gmail.com> wrote:
> On Tue, Jul 19, 2011 at 6:47 PM, Stu <stu / rubyprogrammer.net> wrote:
>>
>> homework. seen this before.
>
> That's because it's one of the first exercises for Chris Pine's Learn
> To Program. That's not usually used as a textbook for comp.sci.
> programming courses.
>
> So, instead of being completely dismissive, help a poor guy/gal out,
> and put him/her onto the right track, eh?
>
> --
> Phillip Gawlowski
>
> phgaw.posterous.com | twitter.com/phgaw | gplus.to/phgaw
>
> A method of solution is perfect if we can forsee from the start,
> and even prove, that following that method we shall attain our aim.
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 -- Leibniz
>
>