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
direct7-0.0.18 vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/inherited_attributes.erb
direct7-0.0.17 vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/inherited_attributes.erb
direct7-0.0.16 vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/inherited_attributes.erb
yard-0.9.37 templates/default/module/html/inherited_attributes.erb
kinetic_sdk-5.0.27 gems/yard-0.9.36/templates/default/module/html/inherited_attributes.erb
kinetic_sdk-5.0.26 gems/yard-0.9.36/templates/default/module/html/inherited_attributes.erb
kinetic_sdk-5.0.25 gems/yard-0.9.25/templates/default/module/html/inherited_attributes.erb
kinetic_sdk-5.0.24 gems/yard-0.9.25/templates/default/module/html/inherited_attributes.erb
direct7-0.0.13 vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/inherited_attributes.erb
yard-0.9.36 templates/default/module/html/inherited_attributes.erb
yard-0.9.35 templates/default/module/html/inherited_attributes.erb
direct7-0.0.12 vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/inherited_attributes.erb
kinetic_sdk-5.0.23 gems/yard-0.9.25/templates/default/module/html/inherited_attributes.erb
getargv-0.3.3-universal-darwin vendor/bundle/ruby/3.3.0/gems/yard-0.9.34/templates/default/module/html/inherited_attributes.erb
direct7-0.0.11 vendor/bundle/ruby/2.7.0/gems/yard-0.9.34/templates/default/module/html/inherited_attributes.erb
kinetic_sdk-5.0.22 gems/yard-0.9.25/templates/default/module/html/inherited_attributes.erb
kinetic_sdk-5.0.21 gems/yard-0.9.25/templates/default/module/html/inherited_attributes.erb
yard-0.9.34 templates/default/module/html/inherited_attributes.erb
yard-0.9.33 templates/default/module/html/inherited_attributes.erb
yard-0.9.32 templates/default/module/html/inherited_attributes.erb