From: Tony Arcieri Date: 2009-08-13T06:53:00+09:00 Subject: Re: Class#descendants? --001636ed75dd9e1b490470f8d7e0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Wed, Aug 12, 2009 at 1:39 PM, Joel VanderWerf wrote: > irb(main):001:0> ObjectSpace.each_object(Class) {|cl| p cl if cl < Numeric} > For what it's worth, here's my implementation, which doesn't use ObjectSpace. It's a bit less trivial and I wonder if it could be made better: http://gist.github.com/166800 Workarounds for ActiveSupport included, yay! -- Tony Arcieri Medioh/Nagravision --001636ed75dd9e1b490470f8d7e0--