2020-07-02 22:33:09 +02:00
|
|
|
<%- unless klass.extends.empty? then %>
|
2013-09-18 23:33:36 +00:00
|
|
|
<div id="extends-section" class="nav-section">
|
|
|
|
<h3>Extended With Modules</h3>
|
2012-11-27 04:28:14 +00:00
|
|
|
|
|
|
|
<ul class="link-list">
|
2020-07-02 22:33:09 +02:00
|
|
|
<%- klass.each_extend do |ext| -%>
|
|
|
|
<%- unless String === ext.module then -%>
|
2012-11-27 04:28:14 +00:00
|
|
|
<li><a class="extend" href="<%= klass.aref_to ext.module.path %>"><%= ext.module.full_name %></a>
|
2020-07-02 22:33:09 +02:00
|
|
|
<%- else -%>
|
2012-11-27 04:28:14 +00:00
|
|
|
<li><span class="extend"><%= ext.name %></span>
|
2020-07-02 22:33:09 +02:00
|
|
|
<%- end -%>
|
|
|
|
<%- end -%>
|
2012-11-27 04:28:14 +00:00
|
|
|
</ul>
|
2013-09-18 23:33:36 +00:00
|
|
|
</div>
|
2020-07-02 22:33:09 +02:00
|
|
|
<%- end -%>
|