Sha256: 0ae44d3b941f55686c3295a28bfbf45053aafa1ff4a1790cb1d34f4e25bb8c0c

Contents?: true

Size: 1.38 KB

Versions: 73

Compression:

Stored size: 1.38 KB

Contents

<% n = 1 %>
<dl class="box">
  <% if CodeObjects::ClassObject === object && object.superclass %>
    <dt class="r<%=n%>">Inherits:</dt>
    <dd class="r<%=n%>">
      <span class="inheritName"><%= linkify object.superclass %></span>
      <% if object.superclass.name != :BasicObject %>
        <ul class="fullTree">
          <li><%= linkify P(:Object) %></li>
          <% object.inheritance_tree.reverse.each_with_index do |obj, i| %>
            <li class="next"><%= obj == object ? obj.path : linkify(obj) %></li>
          <% end %>
        </ul>
        <a href="#" class="inheritanceTree">show all</a>
      <% end %>
      </dd>
    <% n = 2 %>
  <% end %>
  <% [[:class, "Extended by"], [:instance, "Includes"]].each do |scope, name| %>
    <% if (mix = object.mixins(scope)).size > 0 %>
      <dt class="r<%=n%>"><%= name %>:</dt>
      <dd class="r<%=n%>"><%= mix.sort_by {|o| o.path }.map {|o| linkify(o) }.join(", ") %></dd>
      <% n = n == 2 ? 1 : 2 %>
    <% end %>
  <% end %>
  <% if (mixed_into = mixed_into(object)).size > 0 %>
    <dt class="r<%=n%>">Included in:</dt>
    <dd class="r<%=n%>"><%= mixed_into.sort_by {|o| o.path }.map {|o| linkify(o) }.join(", ") %></dd>
    <% n = n == 2 ? 1 : 2 %>
  <% end %>
  <% unless object.root? %>
    <dt class="r<%=n%> last">Defined in:</dt>
    <dd class="r<%=n%> last"><%= erb(:defines) %></dd>
  <% end %>
</dl>
<div class="clear"></div>

Version data entries

73 entries across 61 versions & 5 rubygems

Version Path
challah-1.0.0.beta vendor/bundle/gems/yard-0.8.3/templates/default/module/html/box_info.erb
challah-0.9.1.beta.3 vendor/bundle/gems/yard-0.8.3/templates/default/module/html/box_info.erb
challah-0.9.1.beta vendor/bundle/gems/yard-0.8.3/templates/default/module/html/box_info.erb
challah-0.9.0 vendor/bundle/gems/yard-0.8.3/templates/default/module/html/box_info.erb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/yard-0.8.3/templates/default/module/html/box_info.erb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/yard-0.8.2.1/templates/default/module/html/box_info.erb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/yard-0.8.2.1/templates/default/module/html/box_info.erb
challah-rolls-0.2.0 vendor/bundle/gems/yard-0.8.2.1/templates/default/module/html/box_info.erb
challah-rolls-0.2.0 vendor/bundle/gems/yard-0.8.3/templates/default/module/html/box_info.erb
challah-0.8.3 vendor/bundle/gems/yard-0.8.3/templates/default/module/html/box_info.erb
challah-0.8.3 vendor/bundle/gems/yard-0.8.2.1/templates/default/module/html/box_info.erb
yard-0.8.3 templates/default/module/html/box_info.erb
challah-0.8.1 vendor/bundle/gems/yard-0.8.2.1/templates/default/module/html/box_info.erb
challah-rolls-0.1.0 vendor/bundle/gems/yard-0.8.2.1/templates/default/module/html/box_info.erb
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/yard-0.8.2.1/templates/default/module/html/box_info.erb
challah-0.8.0.pre vendor/bundle/gems/yard-0.8.2.1/templates/default/module/html/box_info.erb
challah-0.7.1 vendor/bundle/gems/yard-0.8.2.1/templates/default/module/html/box_info.erb
challah-0.7.0 vendor/bundle/gems/yard-0.8.2.1/templates/default/module/html/box_info.erb
challah-0.7.0.pre2 vendor/bundle/gems/yard-0.8.2.1/templates/default/module/html/box_info.erb
challah-0.7.0.pre vendor/bundle/gems/yard-0.8.2.1/templates/default/module/html/box_info.erb