From: Yu Co Date: 2006-09-21T15:05:12+09:00 Subject: Re: Ruby doesn't convert from String to int snacktime wrote: > On 9/20/06, Yu Co wrote: >> >> fill my date Object... >> > >> I am wondering why Ruby converts a String to Fixnum after calling to_i > Because that's what to_i does? An integer IS a Fixnum. Also, the > code you posted as not working works just fine, which is why the > subtle hint by Austin to post the *real* code that is actually > breaking. Chances are you array doesn't contain what you assume it > does. All right, then I'm wondering why the array doesn't accept Fixnum as an argument... -- Posted via http://www.ruby-forum.com/.