From: Robert Dober Date: 2007-05-11T07:01:05+09:00 Subject: Re: to_a On 5/10/07, Ari Brown wrote: > Howdy, jewel hunters > > I've been working on the Credit Card problem, and am using the > command .to_a to put my numbers into an array. > > However, I get a warning everytime I do so: > #122_CreditCards.rb:45: warning: default `to_a' will be obsolete > > What should I do instead of to_a? This depends on the content of line 45 of 122_CreditCards.rb ;) Would you mind sharing it (with some context lines) with us? Cheers Robert > > > -------------------------------------------------------| > ~ Ari > crap my sig won't fit > > > -- You see things; and you say Why? But I dream things that never were; and I say Why not? -- George Bernard Shaw