Returns an Array of RI
data for methods matching name
# File lib/rdoc/ri/driver.rb, line 925
def load_methods_matching name
found = []
find_methods name do |store, klass, ancestor, types, method|
methods = []
methods << load_method(store, :class_methods, ancestor, '::', method) if
types == :class or types == :both
methods << load_method(store, :instance_methods, ancestor, '#', method) if
types == :instance or types == :both
found << [store, methods.compact]
end
found.reject do |path, methods| methods.empty? end
end