Class: PageMeta::MetaTag::Charset
- Inherits:
-
PageMeta::MetaTag
- Object
- PageMeta::MetaTag
- PageMeta::MetaTag::Charset
- Defined in:
- lib/page_meta/meta_tag/charset.rb
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
6 7 8 9 10 |
# File 'lib/page_meta/meta_tag/charset.rb', line 6 def render return if content.blank? helpers.tag(:meta, charset: content.to_s.upcase) end |