Class: PageMeta::MetaTag::Title

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

Instance Attribute Summary

Attributes inherited from PageMeta::MetaTag

#content, #name

Instance Method Summary collapse

Methods inherited from PageMeta::MetaTag

build, #helpers, #initialize

Constructor Details

This class inherits a constructor from PageMeta::MetaTag

Instance Method Details

#renderObject



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

def render
  helpers.(:title, content.to_s) +
    helpers.tag(:meta, name: "DC.title", content: content.simple) +
    helpers.tag(:meta, itemprop: "name", content: content.simple)
end