<%- unless klass.extends.empty? %>
<div id="extends-section" class="nav-section">
  <h3>Extended With Modules</h3>

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