File: constant_summary.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 (11 lines) | stat: -rwxr-xr-x 407 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
<% if constant_listing.size > 0 %>
  <h2>Constant Summary</h2>
  <dl class="constants">
    <% constant_listing.each do |cnst| %>
      <dt id="<%= anchor_for(cnst) %>" class="<%= cnst.has_tag?(:deprecated) ? 'deprecated' : '' %>"><%= cnst.name %> =
        <%= yieldall :object => cnst %>
      </dt>
      <dd><pre class="code"><%= format_constant cnst.value %></pre></dd>
    <% end %>
  </dl>
<% end %>