Sha256: 6518c20bf88902d78339e39752574a0ff1a0249f8ef38996123775a06d5a13fa

Contents?: true

Size: 213 Bytes

Versions: 3

Compression:

Stored size: 213 Bytes

Contents

<% attrs = column.cell_attrs.dup %>
<% attrs.each do |key, value| %>
  <% attrs[key] = value.call(row) if attrs[key].is_a?(Proc) %>
<% end %>
<%= content_tag(:td, attrs) do %>
  <%= column.value(row) %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tableficate-0.3.2 app/views/tableficate/_data.html.erb
tableficate-0.3.1 app/views/tableficate/_data.html.erb
tableficate-0.3.0 app/views/tableficate/_data.html.erb