Sha256: 3a17b441e0d77dc6adfed78bef7a004ff40af17e64c7ef76ebfcd707b8f96698

Contents?: true

Size: 634 Bytes

Versions: 167

Compression:

Stored size: 634 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

167 entries across 145 versions & 17 rubygems

Version Path
challah-0.3.3 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_attributes.erb
challah-0.3.2 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_attributes.erb
challah-0.3.1 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_attributes.erb
challah-0.3.0 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_attributes.erb
challah-0.2.1 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_attributes.erb
challah-0.2.0 vendor/bundle/gems/yard-0.7.5/templates/default/module/html/inherited_attributes.erb
yard-0.7.5 templates/default/module/html/inherited_attributes.erb