<table>
<% @map.to_spreadsheet.each do |line| %>
<tr>
<% line.each do |field| %>
<td><%= field %></td>
<% end %>
</tr>
</table>