Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9dd070 commit 34a27fdCopy full SHA for 34a27fd
lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
@@ -36,7 +36,7 @@
36
37
<h2 id="classes">Classes and Modules</h2>
38
<ul>
39
-<%- get_sorted_module_list(@classes).each do |klass| -%>
+<%- @classes.select(&:display?).each do |klass| -%>
40
<li class="<%= klass.type %>">
41
<a href="<%= klass.path %>"><%= klass.full_name %></a>
42
<%- table = []
@@ -57,9 +57,7 @@
57
58
<h2 id="methods">Methods</h2>
59
60
-<%- @store.all_classes_and_modules.flat_map do |mod|
61
- mod.method_list
62
- end.sort.each do |method| %>
+<%- @classes.flat_map(&:method_list).sort.each do |method| %>
63
<li class="method">
64
<a href="<%= method.path %>"><%= h method.pretty_name %></a>
65
—
0 commit comments