Module: Grid::RowHelper
- Defined in:
- app/helpers/grid/row_helper.rb
Instance Method Summary collapse
Instance Method Details
#column(c, **options) ⇒ Object
9 10 11 12 13 |
# File 'app/helpers/grid/row_helper.rb', line 9 def column(c, **) c.with_column(**) do yield end end |
#row(**options) ⇒ Object
3 4 5 6 7 |
# File 'app/helpers/grid/row_helper.rb', line 3 def row(**) render(Row::RowComponent.new(**)) do |c| yield(c) end end |