Sha256: 87af3411a0aa7dbb3cbab295217faaa51391f7962133e7272246b1ca8287beda

Contents?: true

Size: 935 Bytes

Versions: 44

Compression:

Stored size: 935 Bytes

Contents

<% found_method = false %>
<% 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 %>
  <% if method_listing.size == 0 && !found_method %><h2>Method Summary</h2><% end %>
  <% found_method = true %>
  <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 do |m| 
      name = m.name(true)
      name = name.gsub(/^#/,'') if superclass.type == :module && object.class_mixins.include?(superclass)
      linkify(m, name) 
    end.join(", ") 
  %></p>
<% end %>

Version data entries

44 entries across 44 versions & 4 rubygems

Version Path
challah-0.6.2 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
challah-0.6.1 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
challah-0.6.0 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
challah-0.5.4 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
challah-0.5.3 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
challah-0.5.2 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
challah-0.5.1 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
challah-0.5.0 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
challah-0.4.1 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
challah-0.4.0 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
challah-0.3.5 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
challah-0.3.4 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
challah-0.3.3 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
challah-0.3.2 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
challah-0.3.1 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
challah-0.3.0 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
challah-0.2.1 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
challah-0.2.0 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_methods.erb
yard-0.7.5 templates/default/module/html/inherited_methods.erb
nutshell-crm-0.0.6.alpha vendor/bundle/gems/yard-0.7.4/templates/default/module/html/inherited_methods.erb