From: Andrew Timberlake Date: 2009-06-18T20:55:46+09:00 Subject: Re: The Ruby Script Context On Thu, Jun 18, 2009 at 1:47 PM, Mike Stephens wrote: > > When you enter a script, am I right in thinking that automatically an > overall Module object and a Class object are created, so that all your > methods not within another class or module are part of these objects? > What are the names of these two default objects? You can see for yourself by using ruby puts self.inspect puts self.class.inspect puts self.class.included_modules.inspect Andrew Timberlake http://ramblingsonrails.com http://MyMvelope.com - The SIMPLE way to manage your savings