<% if CodeObjects::ClassObject === object && object.superclass %>
- Inherits:
-
<%= linkify object.superclass %>
<% if object.superclass.name != :BasicObject %>
- <%= linkify P(:Object) %>
<% object.inheritance_tree.reverse.each_with_index do |obj, i| %>
- <%= obj == object ? obj.path : linkify(obj) %>
<% end %>
show all
<% end %>
<% end %>
<% [[:class, "Extended by"], [:instance, "Includes"]].each do |scope, name| %>
<% if (mix = run_verifier(object.mixins(scope))).size > 0 %>
- <%= name %>:
- <%= mix.sort_by {|o| o.path }.map {|o| linkify(o) }.join(", ") %>
<% end %>
<% end %>
<% if (mixed_into = mixed_into(object)).size > 0 %>
- Included in:
- <%= mixed_into.sort_by {|o| o.path }.map {|o| linkify(o) }.join(", ") %>
<% end %>