<% unless @methods.blank? %>
  <% @methods.each do |m| %>
    <li  data-metric='<%= m.name %>' data-metric-unit="hits"><%= m.friendly_name %></li>
  <% end %>
<% else %>
  <li  data-metric='<%= @metrics.first.name %>' data-metric-unit="hits">No Methods Available</li>
<% end %>
