Method: FastRI::RiIndex#find_methods
- Defined in:
- lib/fastri/ri_index.rb
#find_methods(name, is_class_method, namespaces) ⇒ Object
Returns an array of MethodEntry objects, corresponding to the methods in the ClassEntry objects in the namespaces array.
334 335 336 337 338 339 340 |
# File 'lib/fastri/ri_index.rb', line 334 def find_methods(name, is_class_method, namespaces) result = [] namespaces.each do |ns| result.concat ns.methods_matching(name, is_class_method) end result end |