<%= content_tag :table, local_assigns.slice(:style).merge(class: "design__table") do %> <% headings.each do |heading| %> <%= heading %> <% end %> <%= render_cell(method: "cell", args: [cell_snippet[:cell], *cell_snippet[:args]]) %> <% end %>