Method: Aureus::Components::DataTableRow#cell
- Defined in:
- lib/aureus/components/data_table.rb
#cell(data = '', &block) ⇒ Object
98 99 100 101 102 103 104 |
# File 'lib/aureus/components/data_table.rb', line 98 def cell data='', &block if block_given? @cells << DataTableRowCell.new(capture_haml(&block)) else @cells << DataTableRowCell.new(data) end end |