Sha256: 76fa9a72f0c3a110ad9a89f4832bbdad0b0b5590b36b5f813dd9f50369601d6f
Contents?: true
Size: 1.24 KB
Versions: 15
Compression:
Stored size: 1.24 KB
Contents
<h1><%= h @title %></h1><% simple_files = @files.select(&:text?) unless simple_files.empty? %><h2 id="pages">Pages</h2> <ul><% simple_files.sort.each do |file| %><li><a href="<%= file.path %>"><%= h file.page_name %></a> <% # HACK table_of_contents should not exist on Document table = file.parse(file.comment).table_of_contents unless table.empty? %><ul><% table.each do |heading| %><li><a href="<%= file.path %>#<%= heading.aref %>"><%= heading.plain_html %></a> <% end %></ul><% end %><% end %></ul><% end %><h2 id="classes">Classes and Modules</h2><ul><% @modsort.each do |klass| %><li class="<%= klass.type %>"><a href="<%= klass.path %>"><%= klass.full_name %></a> <% table = [] table.concat klass.parse(klass.comment_location).table_of_contents table.concat klass.section_contents unless table.empty? %><ul><% table.each do |item| %><li><a href="<%= klass.path %>#<%= item.aref %>"><%= item.plain_html %></a> <% end %></ul><% end %><% end %></ul><h2 id="methods">Methods</h2><ul><% @store.all_classes_and_modules.map do |mod| mod.method_list end.flatten.sort.each do |method| %><li><a href="<%= method.path %>"><%= h method.pretty_name %></a> - <%= method.parent.full_name %><% end %></ul>
Version data entries
15 entries across 15 versions & 1 rubygems