This method is deprecated or moved on the latest stable version.
The last existing version (v1_8_7_330) is shown here.
method_list(cls)
private
return a list of class and instance methods that we’ll be documenting
# File lib/rdoc/generators/ri_generator.rb, line 171
def method_list(cls)
list = cls.method_list
unless @options.show_all
list = list.find_all do |m|
m.visibility == :public || m.visibility == :protected || m.force_documentation
end
end
c = []
i = []
list.sort.each do |m|
if m.singleton
c << m
else
i << m
end
end
return c,i
end