On Thu, Jun 18, 2009 at 1:47 PM, Mike Stephens <rubfor / recitel.net> 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