Module: FoundationHelper

Defined in:
lib/foundation_helper.rb

Instance Method Summary collapse

Instance Method Details

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



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

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