Class: PageMeta::MetaTag::MultipleMetaTag
- Inherits:
-
PageMeta::MetaTag
- Object
- PageMeta::MetaTag
- PageMeta::MetaTag::MultipleMetaTag
- Defined in:
- lib/page_meta/meta_tag.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from PageMeta::MetaTag
Instance Method Summary collapse
Methods inherited from PageMeta::MetaTag
build, #content, #helpers, #initialize
Constructor Details
This class inherits a constructor from PageMeta::MetaTag
Instance Method Details
#render ⇒ Object
39 40 41 42 43 44 |
# File 'lib/page_meta/meta_tag.rb', line 39 def render return if content.blank? helpers.tag(:meta, name:, content:) + helpers.tag(:meta, itemprop: name, content:) end |