2009/6/19 Mike Stephens <rubfor / recitel.net>: > We've got an object called main which presumably is a class. No. See my first posting in this thread or try it out for yourself. > We may have > Kernel, Object and BasicObject as included modules but is main itself > part of an overall module that gets automatically created? Is there some > way of listing all the objects within a scripts's state at any moment in > time? ObjectSpace.each_object does it. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/