module Para::SeoTools::MetaTags::Tags

Public Class Methods

[](tag_name) click to toggle source
# File lib/para/seo_tools/meta_tags/tags.rb, line 14
def self.[](tag_name)
  processors[tag_name]
end

Private Class Methods

processors() click to toggle source
# File lib/para/seo_tools/meta_tags/tags.rb, line 20
def self.processors
  @processors ||= [:title, :description, :keywords, :image, :url].reduce({}) do |hash, tag|
    hash[tag] = MetaTags::Tags.const_get(tag.to_s.camelize)
    hash
  end
end