Sha256: 9f38dd329cc895a71069724ecc0707b10686fedf1ef3e142b5c3bc0e48705208
Contents?: true
Size: 387 Bytes
Versions: 2
Compression:
Stored size: 387 Bytes
Contents
# frozen_string_literal: true module Servitium class Configuration attr_accessor :bg_jobs_platform attr_writer :logger, def initialize @logger = Logger.new(STDOUT) @logger.level = Logger::INFO @bg_jobs_platform = :active_job end # logger [Object]. def logger @logger.is_a?(Proc) ? instance_exec(&@logger) : @logger end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
servitium-1.3.0 | lib/servitium/configuration.rb |
servitium-1.2.28 | lib/servitium/configuration.rb |