Class: TableCloth::Extensions::Actions::Column
- Defined in:
- lib/table_cloth/extensions/actions/column.rb
Instance Attribute Summary
Attributes inherited from Column
Instance Method Summary collapse
Methods inherited from Column
Constructor Details
This class inherits a constructor from TableCloth::Column
Instance Method Details
#value(object, view, table = nil) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/table_cloth/extensions/actions/column.rb', line 3 def value(object, view, table=nil) actions = action_collection.actions.map do |action| action.value(object, view) end view.raw(actions.join(separator)) end |