Sha256: a1a64bda9a0fb8647171af0a71493cb524c7452604b66581842bee2f878fa65a
Contents?: true
Size: 473 Bytes
Versions: 2
Compression:
Stored size: 473 Bytes
Contents
module Enjoy::Search def self.configuration @configuration ||= Configuration.new end def self.config @configuration ||= Configuration.new end def self.configure yield configuration end class Configuration attr_accessor :breadcrumbs_on_rails_support attr_accessor :pages_support def initialize @breadcrumbs_on_rails_support = defined?(BreadcrumbsOnRails) @pages_support = defined?(Enjoy::Pages) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
enjoy_cms_search-0.4.1 | lib/enjoy/search/configuration.rb |
enjoy_cms_search-0.4.0.1 | lib/enjoy/search/configuration.rb |