From: Corey Konrad <0011@...> Date: 2007-03-16T10:42:33+09:00 Subject: Re: to_a James Gray wrote: > On Mar 15, 2007, at 8:15 PM, Corey Konrad wrote: > >>> called on are usually marked with a !, like #sort! on Array (sorts >>> array.to_a # Call the method "to_a" on the Range, get back an >>> >> My background i have a degree in computer information systems and have >> been studying things like this for going on 4 years now, i got a 3.12 >> gpa in school and i have studied the syntax of many languages but for >> some reason i just cant ever seem to get anywhere with it, its getting >> really frustrating and i am starting to think that maybe i am mentally >> retarded literally. > > My favorite programming teacher in high school had a saying he > probably used daily, "Man I hate computers." ;) > > It's really a different way of thinking that takes some getting use > to. Don't be too hard on yourself. We all went through this > adjustment period. > > James Edward Gray II yeah i suppose, man i cant imagine learning C or assmembler or something like that. i think i get this issue now though methods arent destructive so i am not transforming the range object i am returning a new array object and i have to put it someplace in order to use it. I think that makes sense now. Thanks alot for the help you guys i appreciate it, believe me there are more questions coming lol. -- Posted via http://www.ruby-forum.com/.