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
Constructor Details
This class inherits a constructor from PageMeta::MetaTag
Instance Method Details
#render ⇒ Object
31 32 33 34 35 36 |
# File 'lib/page_meta/meta_tag.rb', line 31 def render return if content.empty? helpers.tag(:meta, name: name, content: content) + helpers.tag(:meta, itemprop: name, content: content) end |