File: attribute_details.erb

package info (click to toggle)
ruby-enumerable-statistics 2.0.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,036 kB
  • sloc: ansic: 1,808; ruby: 679; makefile: 11; sh: 4
file content (10 lines) | stat: -rwxr-xr-x 420 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
<% scopes(attr_listing) do |list, scope| %>
  <div id="<%= scope %>_attr_details" class="attr_details">
    <h2><%= scope.to_s.capitalize %> Attribute Details</h2>
    <% list.each_with_index do |meth, i| %>
      <% rw = meth.attr_info %>
      <span id="<%= anchor_for(rw[meth.reader? ? :write : :read]) %>"></span>
      <%= yieldall :object => meth, :owner => object, :index => i %>
    <% end %>
  </div>
<% end %>