# File lib/fastri/ri_index.rb, line 163 def methods_matching(name, is_class_method) @ri_index.methods_under(self, false, @source_index).select do |meth| meth.name[name] && (is_class_method ? meth.singleton_method? : meth.instance_method?) end end