Sha256: 490a328550ff554e24fe1fd44e197546113d028fe2a325c2ad23b20a8ba500b7
Contents?: true
Size: 525 Bytes
Versions: 17
Compression:
Stored size: 525 Bytes
Contents
<% output_line_set['output'].strip.split("\n").each do |line| %> <%= content_tag :div, :class => 'line ' + output_line_set['output_type'], :data => { :timestamp => output_line_set['timestamp'] } do %> <%= content_tag(:span, (@line_counter += 1).to_s.rjust(4).gsub(' ', ' ').html_safe + ':', :class => 'counter', :title => (output_line_set['timestamp'] && Time.at(output_line_set['timestamp']))) %> <%= content_tag(:div, (line.empty? ? ' ' : line).html_safe, :class => 'content') %> <% end %> <% end %>
Version data entries
17 entries across 17 versions & 1 rubygems