Module: MetaTags

Defined in:
lib/meta_tags.rb,
lib/meta_tags/tag.rb,
lib/meta_tags/version.rb,
lib/meta_tags/renderer.rb,
lib/meta_tags/view_helper.rb,
lib/meta_tags/content_tag.rb,
lib/meta_tags/configuration.rb,
lib/meta_tags/text_normalizer.rb,
lib/meta_tags/controller_helper.rb,
lib/meta_tags/meta_tags_collection.rb

Overview

MetaTags gem namespace.

Defined Under Namespace

Modules: ControllerHelper, TextNormalizer, ViewHelper Classes: Configuration, ContentTag, MetaTagsCollection, Renderer, Tag

Constant Summary

VERSION =

Gem version.

'2.1.0'

Class Method Summary collapse

Class Method Details

.configObject

Returns MetaTags gem configuration.



8
9
10
# File 'lib/meta_tags.rb', line 8

def self.config
  @@config ||= Configuration.new
end

.configure {|Configuration| ... } ⇒ Object

Configures MetaTags gem.

Examples:


MetaTags.configure do |config|
  # config.title_limit = 100
end

Yields:



20
21
22
# File 'lib/meta_tags.rb', line 20

def self.configure
  yield config
end