Sha256: 65f61dc8687972ddb81db8b50794f448528c8a0d2db1553b99525fb103a1bc90
Contents?: true
Size: 861 Bytes
Versions: 3
Compression:
Stored size: 861 Bytes
Contents
<table> <tr> <th colspan="<%= index.width+1 %>">Daru::Vector(<%= size %>)<%= ':category' if category? %></th> </tr> <% if name %> <tr> <th colspan="<%= index.width %>"> </th> <th><%= name %></th> </tr> <% end %> <% Daru::IRuby::Helpers.tuples_with_rowspans(@index).first(threshold).zip(to_a).each do |tuple, value| %> <tr> <% tuple.each do |idx, span| %> <th rowspan="<%= span %>"><%= idx %></th> <% end %> <td><%= value %></td> </tr> <% end %> <% if size > threshold %> <% last_index = @index.to_a.last %> <tr> <% last_index.size.times do %> <th>...</th> <% end %> <td>...</td> </tr> <tr> <% last_index.each do |idx| %> <th><%= idx %></td> <% end %> <td><%= self[last_index] %></td> </tr> <% end %> </table>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
daru-0.1.5 | lib/daru/iruby/templates/vector_mi.html.erb |
daru-0.1.4.1 | lib/daru/iruby/templates/vector_mi.html.erb |
daru-0.1.4 | lib/daru/iruby/templates/vector_mi.html.erb |