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(options={})
  options[:class] = "block-grid #{options[:up]}-up #{options[:class]}".strip
   :table, class: options[:class] do
     :tr do
      yield if block_given?
    end
  end
end