Sha256: 9aa1d7e17e4146c9f30c5b091ac976d214aa26c5b6a39a374afedb107f3f1930
Contents?: true
Size: 526 Bytes
Versions: 8
Compression:
Stored size: 526 Bytes
Contents
<div class="multiline"> <table style=""> <thead> <tr> <% @step.table.first.each_with_index do |column,column_index| %> <th class="<%= (column_index + 1) % 2 == 0 ? 'even' : 'odd' %>"><%= h(column.strip) %></th> <% end %> </tr> </thead> <% @step.table[1..-1].each_with_index do |row,row_index| %> <tr class="<%= (row_index + 1) % 2 == 0 ? 'even' : 'odd' %>"> <% row.each_with_index do |column,column_index| %> <td><%= h(column.strip) %></td> <% end %> </tr> <% end %> </table> </div>
Version data entries
8 entries across 8 versions & 1 rubygems