<% object.inheritance_tree(true)[1..-1].each do |superclass| %> <% next if superclass.is_a?(YARD::CodeObjects::Proxy) %> <% consts = run_verifier superclass.constants(:included => false, :inherited => false) %> <% consts.reject! {|m| object.child(:scope => :class, :name => m.name) != nil } %> <% next if consts.size == 0 %>

Constants <%= superclass.type == :class ? 'inherited' : 'included' %> from <%= linkify superclass %>

<%= consts.sort_by {|o| o.name.to_s }.map {|m| linkify(m, m.name) }.join(", ") %>

<% end %>