Sha256: bfb60967322f6351d4d5e2d11a63aea5cfd451d72ae002fbe0a50eb01966fb84

Contents?: true

Size: 1 KB

Versions: 43

Compression:

Stored size: 1 KB

Contents

<% d = @doc_instance %>

<%= include "partials/title", :object => @doc_instance %>
<%= include "partials/description", :object => @doc_instance %>

<%= include "partials/namespaces", :object => @doc_instance %>
<%= include "partials/classes", :object => @doc_instance %>

<%= include "partials/class_relationships", :object => @doc_instance %>
<%= include "partials/related_utilities",   :object => @doc_instance %>
<%= include "partials/constructor",         :object => @doc_instance %>

<%
types = [
  [:class_methods, 'Class methods'],
  [:class_properties, 'Class properties'],
  [:instance_methods, 'Instance methods'],
  [:instance_properties, 'Instance properties'],
  [:constants, 'Constants']
].each do |a| %>
  <% method, title = a %>
  <% methods = @doc_instance.send(method) %>
  <% unless methods.empty? %>
    <%= layout_section(title, method) %>
      <ul class="method-list">
        <%= include "partials/link_list", :collection => methods.sort! %>
      </ul>
    <%= end_layout_section %>
  <% end %>
<% end %>

Version data entries

43 entries across 43 versions & 3 rubygems

Version Path
pdoc-0.2.0 templates/html/node.erb
distil-0.12.0 vendor/pdoc/templates/html/node.erb
distil-0.11.8 vendor/pdoc/templates/html/node.erb