Returns the stores wherin name is found along with the classes and includes that match it
# File lib/rdoc/ri/driver.rb, line 607
def classes_and_includes_for name
klasses = []
includes = []
found = @stores.map do |store|
begin
klass = store.load_class name
klasses << klass
includes << [klass.includes, store] if klass.includes
[store, klass]
rescue Errno::ENOENT
end
end.compact
includes.reject! do |modules,| modules.empty? end
[found, klasses, includes]
end