<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja-JP">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=<%=h charset() %>">
  <meta http-equiv="Content-Language" content="ja-JP">
  <link rel="stylesheet" type="text/css" href="<%=h css_url() %>">
  <link rel="icon" type="image/png" href="<%=h favicon_url() %>">
  <title><%=h @entry.type %> <%=h @entry.name %></title>
</head>
<body>

<p>
<%= manual_home_link() %>
&gt; <a href="<%= library_index_url() %>"><%= _('All Libraries') %></a>
&gt; <%= friendly_library_link(@entry.library.name) %>
&gt; <%=h _(@entry.type.to_s + ' %s', @entry.name) %>
</p>

<%
    headline_init
%>
<%= headline("#{@entry.type} #{@entry.name}" + @entry.ancestors[1..@alevel].map{|c| " + #{c.name}" }.join) %>
<p>
<%
    myself, *supers = @entry.ancestors
    n = 0
%>
<%= _('ancestors') %>: <%= escape_html(myself.name) %>
<%  supers.each do |c| %>
      <%= @conf[:tochm_mode] ? "&lt;" : a_href("?a=#{n}", "<")  %> <%= class_link(c.name) %>
      <% n += 1 %>
<%  end %>

<% unless @entry.extended.empty? %>
<br>extend: <%= @entry.extended.map {|c| class_link(c.name) }.join(', ') %>
<% end %>
</p>
<%
    headline_push
%>
<%= headline("Abstract") %>
<%= compile_rd(@entry.source) %>

<%
    ents =  @entry.partitioned_entries(@alevel)
    [[_('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          ]]\
    .each do |label, entries|
      unless entries.empty? %>
<%=     headline(label) %>
<dl>
<%
        headline_push
        entries.each do |m|
%>
<%=       compile_method(m) %>
<%
        end
        headline_pop
%>
</dl>
<%
      end
    end
    headline_pop
%>

</body>
</html>
