Sha256: 764a9d823e7d3221094421e9387d6fa6e4919f2aa83de54739089da4d759ab34
Contents?: true
Size: 662 Bytes
Versions: 14
Compression:
Stored size: 662 Bytes
Contents
require "about_page/engine" require "about_page/configuration" require "about_page/dependencies" require "about_page/environment" require "about_page/request_environment" module AboutPage autoload :Fedora, "about_page/fedora" autoload :Solr, "about_page/solr" def self.configuration_blocks @configuration_blocks ||= [] end def self.configure &block self.configuration_blocks << block end def self.configuration @configuration ||= Configuration.new self.configuration_blocks.delete_if do |block| block.call(@configuration) true end @configuration end def self.reset! @configuration = nil end end
Version data entries
14 entries across 14 versions & 1 rubygems