From: Tim Hunter Date: 2004-11-05T09:33:44+09:00 Subject: Re: How to enumerate nested classes Joel VanderWerf wrote: > > p Foo::Bar.constants.map{|k|Foo::Bar.const_get(k)}.grep(Class) Excellent! Not only did this pretty much work right out of the box, I found two classes that didn't have a deep_copy() method! Thanks!