yeah really fast!!

i am new on the list and i am part of a argentinian group of beginners ruby
programmers.
we are learning pretty much of this list

On Tue, Mar 31, 2009 at 8:15 PM, Siep Korteling <s.korteling / gmail.com>wrote:

> Martin DeMello wrote:
> > On Wed, Apr 1, 2009 at 4:16 AM, Siep Korteling <s.korteling / gmail.com>
> > wrote:
> >>
> >> STDOUT.sync=true
> >>
> >> puts sum_digits(12) #=> 3
> >>
> >> require 'mathn'
> >> puts sum_digits(12) # hangs
> >
> > n /= 10 just keeps making n into a smaller and smaller rational. it
> > never reaches 0
> >
> > martin
>
> Yes, that's clear. Thanks for the help (real fast), Christopher and
> Martin.
>
> Siep
> --
> Posted via http://www.ruby-forum.com/.
>
>


-- 
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.9 (GNU/Linux)

mQGiBEmpeK4RBACcHTXo/f9tj5KZiS4zoO2On/L+hpF1EEq811B+YrvRp8GhRTc+
GRC6gTbzA0fZdXs5khl4vgkkGzwUKZMGopHpQnosTHgVkBr186WrBxD1DJSTB/ad
o/otocPfoaxi4s3oTOS4a4m7JvihIE4bEhXPRcYzTccticafgvyZ+R+6WwCgk7Sr
mNyrTdcZqrj13KQjhfDvdYsD/1jZltfwHSQtjiWiGYKfjvzF8irs1Z0Llm9TKfWp
T7IqV4ro0Gbacxzp7ZU3PBnKrxbHFZH3h298xaKrFK97eOOEPsF7NdasPyXRZkXB
tpprQ33hRzNzxKBNmkzl6oj1xJ3342qjNtoFr8sZ0DYW3syJrAdDO2cXRvQ6xnSl
jnK/A/4lgJq2x582ohTIGpFWyNZLlVaniTLKkmbF2iiaj5sP2EuWCWlRFA3K2YCz
LN/5ntcuXnY3JJ+ntiHZNL9BfyKL28hHmMNIthFLtbp8VXvoVaHqjHjdZVnpmPat
X4oYeT6O4oySluU9XuevZyoygrRXDGY86y6sGZ+aNKHKd3i2PbRDSnVhbiBHdWls
bGVybW8gTmFydmFleiAoVHJhYmFqbyB5IFVuaXZlcnNpZGFkKSA8Z25yd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