class MetaTags::ContentTag
Content should be passed as a ‘:content` attribute.
Represents an HTML meta tag with content (<tag></tag>).
def render(view)
-
(String)
- HTML string for the tag.
Parameters:
-
view
(ActionView::Base
) -- instance of a Rails view.
def render(view) view.content_tag(name, attributes[:content], prepare_attributes(attributes.except(:content))) end