1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml

16 lines
438 B
Text
Raw Normal View History

<% unless klass.includes.empty? then %>
<div id="includes-section" class="nav-section">
<h3>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>
</div>
<% end %>