Sha256: 27d52eda24699c3b802a30f4e15bbe96f13e07d90fe3d6d2174b6fb0bdfe9518

Contents?: true

Size: 1.31 KB

Versions: 4

Compression:

Stored size: 1.31 KB

Contents

# <%= klass.type %> <%= klass.full_name.strip %> [](#<%= klass.aref.strip %>) [](#top)
<%= h klass.description %>
<% klass.each_section do |section, constants, attributes| %>
  <% if section.title %>## <%= section.title.strip %> <% end %>
  <% if section.comment %> <%=h  section.description %><% end%>
  <% unless klass.constants.empty? %>
## Constants
    <% klass.constants.each do |const| %>
### <%= const.name.strip %>[](#<%= const.name.strip %>)
<% if const.comment %> <%= h const.description %> <%else%> (Not documented) <% end %>
    <% end %>
  <% end %>
  <% unless attributes&.empty? %>
## Attributes
    <% attributes.each do |attr| %>
### <%= attr.name %>[<%= attr.rw %>] [](#<%= attr.aref.strip %>)
<% if attr.comment %> <%= h attr.description %> <%else%> (Not documented) <% end %>
    <% end %>
  <% end %>
  <% klass.methods_by_type(section).each do |type, visibilities| %>
    <% next if visibilities.empty? %>
    <% visibilities.each do |visibility, methods| %>
      <% next if methods.empty? %>
##  <%= visibility.capitalize %> <%= type.capitalize %> Methods
      <% methods.each do |method|%>
### <%= method.name.strip %><%= method.param_seq.strip %> [](#<%= method.aref.strip %>)
<% if method.comment %> <%= h method.description %>  <% else %> (Not documented) <%end%>
      <% end %>
    <% end %>
  <% end %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rdoc-markdown-0.3.4 lib/templates/classfile.md.erb
rdoc-markdown-0.3.3 lib/templates/classfile.md.erb
rdoc-markdown-0.3.2 lib/templates/classfile.md.erb
rdoc-markdown-0.3.1 lib/templates/classfile.md.erb