Sha256: a7d48b2d0059b760a57acd1792292b8608445419c1b01f78042d585780dd2486

Contents?: true

Size: 609 Bytes

Versions: 6

Compression:

Stored size: 609 Bytes

Contents

<div class="section <%= generator_name %>">
  <h1>Attributes</h1>

  <% ['class', 'instance'].select {|s| object.attributes[s].length > 0 }.each do |scope| %>
    <div class="<%= scope %>">
      <h2><%= scope.capitalize %> Attributes</h2>
      <tt>
      <% object.attributes[scope].sort_by {|o| o.to_s.downcase }.each do |name, rw| %>
        <%= h name %> [<%= ['read', 'write'].map {|t| 
                rw[t] && !rw[t].is_explicit? ? "<span id='#{anchor_for rw[t]}'>#{t[0,1].upcase}</span>" : t[0,1].upcase
              }.compact.join %>]<br />
      <% end %>
      </tt>
    </div>
  <% end %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
yard-0.2.3.5 templates/javadoc/attributes/html/header.erb
yard-0.2.3.4 templates/javadoc/attributes/html/header.erb
yard-0.2.3.2 templates/javadoc/attributes/html/header.erb
yard-0.2.3.3 templates/javadoc/attributes/html/header.erb
yard-0.2.2 templates/javadoc/attributes/html/header.erb
yard-0.2.3 templates/javadoc/attributes/html/header.erb