Class: PageMeta::MetaTag::Language

Inherits:
PageMeta::MetaTag show all
Defined in:
lib/page_meta/meta_tag/language.rb

Instance Attribute Summary

Attributes inherited from PageMeta::MetaTag

#name

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

#renderObject



6
7
8
9
# File 'lib/page_meta/meta_tag/language.rb', line 6

def render
  helpers.tag(:meta, name:, content:) +
    helpers.tag(:meta, itemprop: name, content:)
end