Sha256: cbf704ff424e077b796b2d8721b9f35b3ab609f85c3fa428037bdf094a938971
Contents?: true
Size: 1.8 KB
Versions: 6
Compression:
Stored size: 1.8 KB
Contents
<% @title = "library #{@entry.name}" @description = @entry.description %> <p> <%= manual_home_link() %> > <a href="<%= library_index_url() %>"><%= _('All Libraries') %></a> > <%= friendly_library_name(@entry.name) %> </p> <% headline_init %> <%= headline(@entry.id == '_builtin' ? _('Builtin Library') : "library #{@entry.name}") %> <% headline_push all_classes = @entry.all_classes err_classes = @entry.all_error_classes.sort modules = @entry.all_modules objects = @entry.all_objects classes = all_classes - err_classes - modules - objects %> <%= headline(_("Abstract")) %> <%= compile_rd(@entry.source) %> <% [[classes, _('Classes')], [modules, _('Modules')], [objects, _('Objects')], [err_classes, _('Exception Classes')]].each do |cs, msg| unless cs.empty? %> <%= headline(msg) %> <table class="entries libraries"> <% draw_tree(cs) do |c, indent| %> <tr> <td class="signature" style="text-indent: <%= indent * 1.0%>em;"> <span style="display:none"><%= " " * indent %></span> <%= class_link(c.name, c.name) %> </td> <td class="description"><%= compile_rd(c.synopsis_source) %></td> </tr> <% end %> </table> <% end end %> <% [[@entry.requires.sort, _('Required Libraries')], [(@entry.sublibraries - @entry.requires).sort, _('Sub-Libraries')]].each do |cs, msg| unless cs.empty? %> <%= headline(msg) %> <table class="entries libraries"> <% cs.each do |c| %> <tr> <td class="signature"><%= library_link(c.name) %></td> <td class="description"><%= compile_rd(c.synopsis_source) %></td> </tr> <% end %> </table> <% end end %> <% ents = @entry.methods.sort unless ents.empty? %> <%= headline(_("Added/Redefined Methods")) %> <p><code> <% ents.each do |m| %> <%= link_to_method(m, true) %> <% end %> </code></p> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems