aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml
blob: 5494f1f5f877451b24aeae7126bd1fd1b9491582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<% unless klass.includes.empty? then %>
<!-- Included Modules -->
<nav id="includes-section" class="section">
  <h3 class="section-header">Included Modules</h3>

  <ul class="link-list">
  <% klass.each_include do |inc| %>
  <% unless String === inc.module then %>
    <li><a class="include" href="<%= klass.aref_to inc.module.path %>"><%= inc.module.full_name %></a>
  <% else %>
    <li><span class="include"><%= inc.name %></span>
  <% end %>
  <% end %>
  </ul>
</nav>
<% end %>