<!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() %>"> 
  <title>class <%=h @entry.name %></title>
</head>
<body>

<p>
<a href="<%= library_index_url() %>">All Libraries</a>
&gt; library <%= library_link(@entry.library.name) %>
&gt; <%=h @entry.type %> <%=h @entry.name %>
</p>
<%
    headline_init
%>
<%= headline("#{@entry.type} #{@entry.name}") %>
<p>
<%
    myself, *supers = @entry.ancestors
%>
ancestors: <%= escape_html(myself.name) %>
<%  supers.each do |c| %>
      &lt; <%= class_link(c.name) %>
<%  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
    [['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>
