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.inject([]){ |ary, m| ary.concat(m.names.map{ |mname| [m.index_id, mname] }) }
.uniq
.sort_by{ |_, mname| mname.gsub(/(?=[^\da-zA-Z])/, "\t") }
.each do |index_id, mname|
%>
- <%= escape_html "#{prefix}#{mname}" %> <% end %>
<% end %>
-
<% ancestors.each do |c|
methods = c.partitioned_entries(@alevel).instance_methods
.flat_map { |m| m.names.map { |n| [n, m] } }
.reject { |name,| displayed_methods.include?(name) }
.sort
next if methods.empty? %>
- <%= _('Ancestor Methods %s', c.name) %>
-
-
<% methods.each do |name, m| %>
- <%= method_link(m.spec_string, name) %> <% displayed_methods << name %> <% end %>
<%
end
end %>
-
<%
headline_push
entries.each do |m|
%>
<%= compile_method(m) %>
<%
end
headline_pop
%>