Sha256: 2f26edc1a2c079bb7703a070812e0b2693553f84a5cae449e05e18dfbe8b273e
Contents?: true
Size: 836 Bytes
Versions: 4
Compression:
Stored size: 836 Bytes
Contents
<tbody> <% DaruLite::IRuby::Helpers.tuples_with_rowspans(@index).first(threshold).zip(@index.to_a).each do |tuple, index| %> <tr> <% tuple.each do |idx, span| %> <th rowspan="<%= span %>"><%= idx %></th> <% end %> <% row[index].each do |element| %> <td><%= element.to_s %></td> <% end %> </tr> <% end %> <% if nrows > threshold %> <tr> <% index.width.times do %> <th>...</th> <% end %> <% @vectors.size.times do %> <td>...</td> <% end %> </tr> <% last_index = @index.to_a.last last_row = row[last_index] %> <tr> <% last_index.each do |idx| %> <th><%= idx %></td> <% end %> <% last_row.each do |element| %> <td><%= element.to_s %></td> <% end %> </tr> <% end %> </tbody>
Version data entries
4 entries across 4 versions & 1 rubygems