Sha256: 65011d54b2c865c9fc453482d71d80e37213b8b3f1d9ccab08e50944aed7ee5b

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

# <% if klass.type == 'class' %><%= klass.type.capitalize %>: **<%= klass.full_name %>**<% if klass.superclass %> < <% end %><% unless String === klass.superclass %><%= klass.superclass&.name %> <% else %> <%= klass.superclass %> <% end %> <% else %> <%= klass.type.capitalize %>: <%= klass&.name %> <% end %>
<%= h klass.description %>
<% unless klass.constants.empty? %>
| Constants | Description |
| ------------- | ------------- |
<% klass.constants.sort_by { |x| x.name }.each do |const| %> |**[<%= const.name %>](#<%= ActiveSupport::Inflector.parameterize const.name%>)** | <%= h const.description %> |
<% end %><% end %>
<% unless klass.attributes.empty? %>
## Attributes
<% klass.attributes.sort_by { |x| x.name }.each do |attr| %>
  [[**<%= attr.rw %>**] <%= attr.name %>](#<%= attr.aref %>)
<% end %><% end %>
<% unless klass_methods.empty? %>
## Public Class Methods
***
<% klass_methods.each do |method| %>### [<%= method.name %><%= method.params %>](#<%= method.aref %>)

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

<%= h method.description %><% end %><% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

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