Module: MetaTags

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

Overview

MetaTags gem namespace.

Defined Under Namespace

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

Constant Summary collapse

VERSION =

Gem version.

'1.1.1'

Class Method Summary collapse

Class Method Details

.configObject

Returns MetaTags gem configuration.



8
9
10
# File 'lib/meta_tags-rails.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-rails.rb', line 20

def self.configure
  yield config
end