Sha256: 1bf093c0bf35d3f08994b516401173100968fa418826f2e395d240d75e88ba95

Contents?: true

Size: 647 Bytes

Versions: 5

Compression:

Stored size: 647 Bytes

Contents

<% object.inheritance_tree(true)[1..-1].each do |superclass| %>
  <% next if superclass.is_a?(YARD::CodeObjects::Proxy) %>
  <% meths = prune_method_listing(superclass.meths(:included => false, :inherited => false)) %>
  <% meths.reject! {|m| object.child(:scope => m.scope, :name => m.name) != nil } %>
  <% meths.reject! {|m| m.is_alias? || m.is_attribute? } %>
  <% next if meths.size == 0 %>
  <h3 class="inherited">Methods <%= superclass.type == :class ? 'inherited' : 'included' %> from <%= linkify superclass %></h3>
  <p class="inherited"><%= meths.sort_by {|o| o.name.to_s }.map {|m| linkify(m, m.name(true)) }.join(", ") %></p>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yard-0.5.3 templates/default/module/html/inherited_methods.erb
yard-0.5.2 templates/default/module/html/inherited_methods.erb
yard-0.5.1p1 templates/default/module/html/inherited_methods.erb
yard-0.5.1 templates/default/module/html/inherited_methods.erb
yard-0.5.0 templates/default/module/html/inherited_methods.erb