From: incag neato Date: 2012-08-18T03:39:50+09:00 Subject: Re: Default parameters? + (Noob) Guidance >Dave Aronson wrote in post #1072704: > Perhaps your Google-fu needs some strengthening. I concur. > def say_hello(name = "Qui-Gon Jinn") Boom. > There is a more complicated way, that will soak up an unlimited number > of additional args, but that's for another time. :-) I'll stretch my legs and dig in now that I get it. >> 2) in moving forward, how would you recommend I teach myself? >> a. Michael Hartl's tutorials? or perhaps >> b. Chris Pine's PragProg book: "Learn to Program"? > Both are excellent. It depends whether you're trying to learn > programming (Pine), the Ruby language (Pine), or the Ruby on Rails web > app framework (Hartl). If you're already familiar with programming in > other languages, you MIGHT do OK starting with Hartl and then > referring to sections in Pine (or any other Ruby resources) as needed. Thanks for the breakdown man! Much appreciated. -- Posted via http://www.ruby-forum.com/.