From: Rob Rypka Date: 2005-09-29T04:28:12+09:00 Subject: Re: Python to Ruby: Two puzzlements... ------=_Part_6507_19643.1127935688456 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 9/28/05, Elf M. Sternberg wrote: > (And before someone says "Buy the > Pickaxe!" I'll just say that I spent my book budget this month on the > Rails book and any other purchases will have to wait until my next > paycheck.) > Then, read the Pickaxe (1st edition) online until you get paid, and can buy the second edition. Link: http://ruby-doc.org/docs/ProgrammingRuby/ I sat and tried to come up with explanations for everything, but I'm too tired. I think most of your questions will be answered by reading the sections "Classes, Objects and Variables" and "Modules." As for extend, read this: http://ruby-doc.org/docs/ProgrammingRuby/html/ref_c_object.html#Object.exte= nd There are a couple more examples that might help you get the gist of extend= . Remember, *everything* is an object, even the definitions of the classes (they're just constants). Ask what isn't clear after that, and I'll try again. -- Rob ------=_Part_6507_19643.1127935688456--