Sha256: 0b7ab9c7df0d70c8e3a25af1efb17f5b150d4c1accc6e581cfe9a40b6d457606

Contents?: true

Size: 1.3 KB

Versions: 2

Compression:

Stored size: 1.3 KB

Contents

# <%= klass.name %>
## <% if klass.type == 'class' %><%= klass.type.capitalize %>[<%= klass.full_name %>](<%= klass.path %>)<% if klass.superclass %> inherits from <% end %><% unless String === klass.superclass %> [<%= klass.superclass.name %>](<%= klass.superclass.path %>) <% else %> <%= klass.superclass %> <% end %> <% else %> <%= klass.type.capitalize %> [<%= klass.name %>](<%= klass.path %>) <% end %>
<% if klass.description && !klass.description.empty? %><%= klass.description %><% end %>
<% unless klass.constants.empty? %><!-- Constants -->
### Constants
<% klass.constants.sort_by { |x| x.name }.each do |const| %> <%= const.name %> <% end %>

<% end %>
<% unless klass.attributes.empty? %><!-- Attributes -->
### Attributes
<% klass.attributes.sort_by { |x| x.name }.each do |attr| %><%= attr.name %>
<%= attr.rw %>
<%= attr.description %>

<% end %><% end %>
<% unless klass_methods.empty? %>
<!-- Class Methods -->
### Public Class Methods
<% klass_methods.each do |method| %>[<%= method.name %><%= method.params %>](<%= method.aref %>)
<%= method.description %><% end %>

<% end %>
<% unless instance_methods.empty? %><!-- Instance Methods -->
### Public Instance Methods
<% instance_methods.each do |method| %>[<%= method.name %><%= method.params %>](<%= method.aref %>)
<%= method.description %><% end %><% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rdoc-markdown-0.1.3 lib/templates/classfile.md.erb
rdoc-markdown-0.1.2 lib/templates/classfile.md.erb