Sha256: 5e282876be54eb2b93d6086dbbe52f600bb9624d73eed5da2d6fedb752f76e4b
Contents?: true
Size: 1.37 KB
Versions: 3
Compression:
Stored size: 1.37 KB
Contents
<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <title><%= @filename %></title> <link rel="stylesheet" href="css/coco.css" type="text/css" /> </head> <body> <p class="menu"> <a href="index.html">Index</a> <img src="img/coconut16.png" width="16" height="16" /> <a href="https://github.com/lkdjiin/coco/wiki">Wiki</a> <img src="img/coconut16.png" width="16" height="16" /> <a href="https://github.com/lkdjiin/coco">Source</a> <img src="img/coconut16.png" width="16" height="16" /> <a href="http://lkdjiin.github.com/coco/">Web site</a> </p> <h2><%= @filename %></h2> <p class="date"><%= "#{Time.now}" %></p> <table class="source"> <thead> <tr> <th>line num</th> <th>source code</th> <th> <abbr title="Number of time this line has been hit during test."> line hits </abbr> </th> </tr> </thead> <% @lines.each do |num, text, hit|%> <% classes = { nil => 'never', 0 => 'miss' } %> <% hit_class = classes[hit] || 'hit' %> <tr class="<%= hit_class %>"> <td class='line-num'><pre><%= num %> </pre></td> <td class='line-source'><pre><%= text %></pre></td> <td class='line-hits'><%= hit %></td> </tr> <% end%> </table> </body> </html>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
coco-0.13.0 | template/file.erb |
coco-0.12.0 | template/file.erb |
coco-0.11.0 | template/file.erb |