Sha256: 2e1394559577ac7cd4a795fc0c775ff4f2734d3679c9c77594128d5c7a6aaa7b
Contents?: true
Size: 524 Bytes
Versions: 6
Compression:
Stored size: 524 Bytes
Contents
module MerchCalendar class << self attr_writer :configuration # Returns the global configuration object # # @return [Configuration] def configuration @configuration ||= Configuration.new end # Used in initializers to set the global configuration # # @return [void] def configure yield(configuration) end # Resets the configuration to default values # # @return [void] def reset_config! @configuration = Configuration.new end end end
Version data entries
6 entries across 6 versions & 1 rubygems