Sha256: 3ab51173932af563e70ad130df21fa20ff29b1583f3aa6ab8159e10083b688b1
Contents?: true
Size: 581 Bytes
Versions: 42
Compression:
Stored size: 581 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
42 entries across 42 versions & 5 rubygems