Sha256: b6fd628407e2c125cb96687b0f293b4007eafd98834ba853e7549f6484587095
Contents?: true
Size: 502 Bytes
Versions: 1
Compression:
Stored size: 502 Bytes
Contents
<table class="table table-striped table-condensed" style="font-family: monospace;"> <tr> <td> <pre> <% max = @output.map {|r| r[:samples] }.compact.max; padding = Math.log10(max).ceil + 1; %> <% @output.each_with_index do |line, idx| %> <%= sprintf('% *d', padding, line[:samples]) if line[:samples].present? %> <% end %></pre> </td> <td> <pre> <% @output.each do |line| %> <%= line[:code] -%> <% end %> </pre> </td> </tr> </table>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stackprofiler-0.0.1 | lib/stackprofiler/web_ui/views/code.erb |