From: Wayne Vucenic Date: 2005-12-01T08:02:37+09:00 Subject: Re: is there a way to get or list all available classes? Hi Daniel, Try this: C:\>irb irb(main):001:0> ObjectSpace.each_object(Class) {|c| p c} Gem::SourceIndex OpenSSL::Digest::SHA1 OpenSSL::Digest::SHA Gem::ConsoleUI OpenSSL::Digest::RIPEMD160 Gem::StreamUI ...etc...etc...etc Wayne Vucenic No Bugs Software Ruby and C++ Agile Contract Programming in Silicon Valley On 11/30/05, Daniel Sch�le wrote: > Hello, > > topic says it all > for example irb knows many classes like Dir, File, Process, Thread .. > can I somehow list them, maybe the are kept in some array .. > if it's possible, can additional classes provided through > require "foo" > be listet too? > > I hope my question is clear > thanks in advance > > Regards, Daniel > > >