Sha256: d688dd1c4d79024fc928424697c9212ea59c78dd8891ee4ad6d034cbb6b6cd83

Contents?: true

Size: 648 Bytes

Versions: 5

Compression:

Stored size: 648 Bytes

Contents

<% found_method = false %>
<% inherited_attr_list do |superclass, attribs| %>
  <% if attr_listing.size == 0 && !found_method %><h2>Instance Attribute Summary</h2><% end %>
  <% found_method = true %>
  <h3 class="inherited">Attributes <%= superclass.type == :class ? 'inherited' : 'included' %> from <%= linkify superclass %></h3>
  <p class="inherited"><%= attribs.map do |method|
      name = method.name(true).gsub(/=$/, '')
      if superclass.type == :module && object.instance_mixins.include?(superclass)
        name = "##{name}" unless name =~ /^#/
      end
      linkify(method, name)
    end.join(", ")
  %></p>
<% end %>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
yard-0.9.18 templates/default/module/html/inherited_attributes.erb
yard-0.9.17 templates/default/module/html/inherited_attributes.erb
deg-yard-0.8.7.4 templates/default/module/html/inherited_attributes.erb
deg-yard-0.8.7.3 templates/default/module/html/inherited_attributes.erb
deg-yard-0.8.7.1 templates/default/module/html/inherited_attributes.erb