We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
each
each_with_index
1 parent 08de77b commit 0d6a3cbCopy full SHA for 0d6a3cb
views/source_file.erb
@@ -11,7 +11,7 @@
11
12
<pre>
13
<ol>
14
- <% source_file.lines.each_with_index do |line| %>
+ <% source_file.lines.each do |line| %>
15
<li class="<%= line.status %>" data-hits="<%= line.coverage ? line.coverage : '' %>" data-linenumber="<%= line.number %>">
16
<% if line.covered? %><span class="hits"><%= line.coverage %></span><% end %>
17
<% if line.skipped? %><span class="hits">skipped</span><% end %>
@@ -20,4 +20,4 @@
20
<% end %>
21
</ol>
22
</pre>
23
-</div>
+</div>
0 commit comments