class Grapple::Components::HtmlCaption

Public Instance Methods

render(*options, &block) click to toggle source
# File lib/grapple/components/html_caption.rb, line 5
def render(*options, &block)
        html = capture_block(options[0] || '', &block)
        "<caption>\n#{html}</caption>\n".html_safe
end