Module: FoundationHelper

Defined in:
lib/foundation_helper.rb

Instance Method Summary collapse

Instance Method Details

#row(options = {}, &block) ⇒ Object



24
25
26
27
28
29
# File 'lib/foundation_helper.rb', line 24

def row(options={}, &block)
  klass = "row"
  klass << " #{options[:class]}" if options[:class].present?
  options[:class] = klass
  (:div, capture("".html_safe, &block), options)
end