Sha256: e1494c81bcc8eaf5e448e47b6d4df59e29d54b83629b241301df38624b937d6f
Contents?: true
Size: 434 Bytes
Versions: 5
Compression:
Stored size: 434 Bytes
Contents
module Albacore module Configuration def self.included(base) Albacore.configuration.extend(base) if (base.class == Module) end end class ConfigData attr_accessor :yaml_config_folder, :log_level end class << self def configure yield(configuration) if block_given? configuration end def configuration @configuration ||= ConfigData.new end end end
Version data entries
5 entries across 5 versions & 1 rubygems