Class: Grapple::Components::HtmlFooter

Inherits:
HtmlComponent show all
Defined in:
lib/grapple/components/html_footer.rb

Instance Attribute Summary

Attributes inherited from BaseComponent

#builder, #columns, #params, #records, #template

Instance Method Summary collapse

Methods inherited from BaseComponent

#initialize, setting

Constructor Details

This class inherits a constructor from Grapple::Components::BaseComponent

Instance Method Details

#render(*options, &block) ⇒ Object



7
8
9
10
# File 'lib/grapple/components/html_footer.rb', line 7

def render(*options, &block)
	html = block_or_components(components, options[0] || {}, &block)
	"<tfoot>\n#{html}</tfoot>\n".html_safe
end