From: Marcus Bristav Date: 2006-08-31T00:12:10+09:00 Subject: Re: Finding classes ------=_Part_19691_16657287.1156950706112 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 8/30/06, Florian Frank wrote: > > Marcus Bristav wrote: > > require 'enumerator' > > ObjectSpace.enum_for(:each_object, Class).select { |x| > x.ancestors.include?(Module) } > > ObjectSpace.enum_for(:each_object, Class).select { |x| x.name =~ /String/ > } Thanks for the answer. Unfortunately this won't work as I explained in my previous mail. The classes aren't required yet, only on the load path (and are auto-required by Rails when needed as I understand it), so I need to find them there somehow. /Marcus ------=_Part_19691_16657287.1156950706112--