<% @title = "#{@entry.type} #{@entry.name}" %>

<%= manual_home_link() %> > <%= _('All Libraries') %> > <%= friendly_library_link(@entry.library.name) %> > <%=h _(@entry.type.to_s + ' %s', @entry.name) %>

<% headline_init %> <%= headline("#{@entry.type} #{@entry.name}" + @entry.ancestors[1..@alevel].map{|c| " + #{c.name}" }.join) %>

<% myself, *supers = @entry.ancestors n = 0 %> <% unless @entry.alias? %> <%= _('ancestors') %>: <%= escape_html(myself.name) %> <% supers.each do |c| %> <%= @conf[:tochm_mode] ? "<" : a_href("?a=#{n}", "<") %> <%= class_link(c.name) %> <% n += 1 %> <% end %> <% end %> <% unless @entry.extended.empty? %>
extend: <%= @entry.extended.map {|c| class_link(c.name) }.join(', ') %> <% end %> <% unless @entry.aliases.empty? %>
aliases: <%=h @entry.aliases.map{|c| c.name}.join(', ') %> <% end %> <% unless @entry.dynamically_included.empty? %>
dynamic include: <%= @entry.dynamically_included.map{|m| class_link(m.name) + " (by " + library_link(m.library.name) + ")" }.join(", ") %> <% end %> <% unless @entry.dynamically_extended.empty? %>
dynamic extend: <%= @entry.dynamically_extended.map{|m| class_link(m.name) + " (by " + library_link(m.library.name) + ")" }.join(", ") %> <% end %>

<% headline_push %> <%= headline(_("Abstract")) %> <%= compile_rd(@entry.source) %> <% ents = @entry.partitioned_entries(@alevel) items = [[_('Singleton Methods'), ents.singleton_methods ], [_('Instance Methods'), ents.instance_methods ], [_('Private Singleton Methods'), ents.private_singleton_methods ], [_('Private Instance Methods'), ents.private_instance_methods ], [_('Module Functions'), ents.module_functions ], [_('Constants'), ents.constants ], [_('Special Variables'), ents.special_variables ,'$']] %> <%= headline(_("Index")) %>
<% items.each do |label, entries, prefix| next if entries.empty? %>
<%= label %>
<% entries.each do |m| m.names.each do |mname| %> <%= "#{prefix}#{mname}" %> <% end end %>
<% end %>
<% items.each do |label, entries| unless entries.empty? %> <%= headline(label) %>
<% headline_push entries.each do |m| %> <%= compile_method(m) %> <% end headline_pop %>
<% end end headline_pop %>