This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_1_378) is shown here.
local_methods_matching(name, is_class_method)
private
Return a list of all our methods matching a given string. Is
is_class_methods if ‘nil’, we don’t care if the method is a
class method or not, otherwise we only return those methods that match
# File lib/rdoc/ri/cache.rb, line 114
def local_methods_matching(name, is_class_method)
list = case is_class_method
when nil then @class_methods + @instance_methods
when true then @class_methods
when false then @instance_methods
else fail "Unknown is_class_method: #{is_class_method.inspect}"
end
list.find_all {|m| m.name; m.name[name]}
end