Sha256: 6d234b682033ec454493e4d5e77d1d3a97d32778b7e82a610f34e2fb91b6cb38

Contents?: true

Size: 539 Bytes

Versions: 2

Compression:

Stored size: 539 Bytes

Contents

<% found_method = false %>
<% inherited_attr_list do |superclass, attribs| %>
<% if attr_listing.size == 0 && !found_method %>## Instance Attribute Summary<% end %>
<% found_method = true %>
### Attributes <%= superclass.type == :class ? 'inherited' : 'included' %> from <%= superclass %>

<%=
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(", ")
%>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yard-to_mkdocs-0.1.1 lib/yard/to_mkdocs/default/module/html/inherited_attributes.erb
yard-to_mkdocs-0.1.0 lib/yard/to_mkdocs/default/module/html/inherited_attributes.erb