Method: Blot::Helpers::Grid#block_grid
- Defined in:
- lib/blot/helpers/grid.rb
#block_grid(options = {}) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/blot/helpers/grid.rb', line 4 def block_grid(={}) [:class] = "block-grid #{[:up]}-up #{[:class]}".strip content_tag :table, class: [:class] do content_tag :tr do yield if block_given? end end end |