Sha256: 346e0264858c325fe3cf7c2cf6ece3185b770fe621e75784ece13b903f6d015f

Contents?: true

Size: 423 Bytes

Versions: 6

Compression:

Stored size: 423 Bytes

Contents

module Enjoy::Seo
  def self.configuration
    @configuration ||= Configuration.new
  end
  def self.config
    @configuration ||= Configuration.new
  end

  def self.configure
    yield configuration
  end

  class Configuration
    attr_accessor :localize

    attr_accessor :gallery_support

    def initialize
      @localize = Enjoy.config.localize

      @gallery_support = defined?(Enjoy::Gallery)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
enjoy_cms_seo-0.4.1 lib/enjoy/seo/configuration.rb
enjoy_cms_seo-0.4.0.3 lib/enjoy/seo/configuration.rb
enjoy_cms_seo-0.4.0.2 lib/enjoy/seo/configuration.rb
enjoy_cms_seo-0.4.0.1 lib/enjoy/seo/configuration.rb
enjoy_cms_seo-0.4.0 lib/enjoy/seo/configuration.rb
enjoy_cms_seo-0.4.0.beta3 lib/enjoy/seo/configuration.rb