<%= klass.full_name %>
<%= klass.description %>
<% unless klass.constants.empty? %>
<% klass.each_constant do |const| %>
- <%= const.name %>
<% if const.comment %>
- <%= const.description.strip %>
<% else %>
- (Not documented)
<% end %>
<% end %>
<% end %>
<% unless klass.attributes.empty? %>
<% klass.each_attribute do |attrib| %>
<% if attrib.rw =~ /w/i %>
<% end %>
<%= h attrib.name %>[<%= attrib.rw %>]
<% if attrib.comment %>
<%= attrib.description.strip %>
<% else %>
(Not documented)
<% end %>
<% end %>
<% end %>
<% klass.methods_by_type.each do |type, visibilities|
next if visibilities.empty?
visibilities.each do |visibility, methods|
next if methods.empty? %>
<% methods.each do |method| %>
">
<% if method.call_seq %>
<%= method.call_seq.strip.gsub(/->/, '→').gsub( /^\w.*?\./m, '') %>
click to toggle source
<% else %>
<%= h method.name %><%= method.params %>
click to toggle source
<% end %>
<% if method.comment %>
<%= method.description.strip %>
<% else %>
(Not documented)
<% end %>
<% if method.token_stream %>
<%= method.markup_code %>
<% end %>
<% unless method.aliases.empty? %>
Also aliased as: <%= method.aliases.map do |aka|
%{
#{h aka.name}}
end.join(", ") %>
<% end %>
<% end %>
<% end
end %>
<% if $DEBUG_RDOC
require 'pp' %>
<%= h PP.pp(klass, _erbout) %>
<% else %>
Disabled; run with --debug to generate this.
<% end %>