Sha256: 7e52269c7f4cdc9d362e7372ff7e3e3912ac97c767bf315f281925ad43d3f721
Contents?: true
Size: 1.28 KB
Versions: 1
Compression:
Stored size: 1.28 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? %><%= h klass.description %><% end %> <% unless klass.constants.empty? %> ### Constants <% klass.constants.sort_by { |x| x.name }.each do |const| %> <%= const.name %> <%= h const.description %> <% end %><% end %> <% unless klass.attributes.empty? %> ### Attributes <% klass.attributes.sort_by { |x| x.name }.each do |attr| %><%= attr.name %> <%= attr.rw %> <%= h attr.description %><% 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 %>) <% if method.name %><%= h method.description %><% end %><% end %><% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rdoc-markdown-0.1.6 | lib/templates/classfile.md.erb |