Sha256: a60b9b81b5afe34d8f38a9c613cd194313841a78f496114f5249a600468f6182
Contents?: true
Size: 1.4 KB
Versions: 15
Compression:
Stored size: 1.4 KB
Contents
<div id="listing"> <h1 class="noborder title"><%= options[:title] %></h1> <h1 class="alphaindex">Alphabetic Index</h1> <% if @files && @files.size > 0 %> <h2>File Listing</h2> <ul id="files"> <% n = 1 %> <% @files.each_with_index do |file, i| %> <li class="r<%= n %>"><%= link_file(file, File.basename(file).gsub(/\.[^.]+$/, '')) %></li> <% n = n == 2 ? 1 : 2 %> <% end %> </ul> <% end %> <div class="clear"></div> <h2>Namespace Listing A-Z</h2> <% if Registry.root.meths(:included => false).size > 0 %> <ul class="toplevel"><li><%= linkify(Registry.root) %></li></ul> <% end %> <% i = 0 %> <table> <tr> <td valign='top' width="33%"> <% @objects_by_letter.sort_by {|l,o| l.to_s }.each do |letter, objects| %> <% if (i += 1) % 8 == 0 %> </td><td valign='top' width="33%"> <% i = 0 %> <% end %> <ul id="alpha_<%= letter %>" class="alpha"> <li class="letter"><%= letter %></li> <ul> <% objects.each do |obj| %> <li> <%= linkify obj, obj.name %> <% if !obj.namespace.root? %> <small>(<%= obj.namespace.path %>)</small> <% end %> </li> <% end %> </ul> </ul> <% end %> </td> </tr> </table> </div>
Version data entries
15 entries across 15 versions & 1 rubygems