Robert Klemme wrote: > Wayne Vucenic wrote: > > 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 > > Note, that all approaches using ObjectSpace list only classes known to the > interpreter at this moment. There might be more classes whose files > haven't been required / loaded yet. You won't see them. Also, additional > classes may be generated dynamically. > > Kind regards > > robert right, and immediate values are kind of important:Fixnum, Symbol, TrueClass, FalseClass, NilClass ;-p}