summaryrefslogtreecommitdiff
path: root/lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml
blob: 2bd8efee9967ec4140bb19b670de466dc04dc145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<% unless klass.extends.empty? then %>
<div id="extends-section" class="nav-section">
  <h3>Extended With Modules</h3>

  <ul class="link-list">
    <% klass.each_extend do |ext| %>
  <% unless String === ext.module then %>
    <li><a class="extend" href="<%= klass.aref_to ext.module.path %>"><%= ext.module.full_name %></a>
  <% else %>
    <li><span class="extend"><%= ext.name %></span>
  <% end %>
  <% end %>
  </ul>
</div>
<% end %>