Sha256: 80e3fa12bbb434ad47e611cdae074f8480f1fbcefaf038d1008b5c14af4f9f8b
Contents?: true
Size: 390 Bytes
Versions: 2
Compression:
Stored size: 390 Bytes
Contents
require "albacore/support/openstruct" module Configuration module FluentMigrator include Albacore::Configuration def self.fluentmigratorconfig @config ||= OpenStruct.new.extend(OpenStructToHash).extend(FluentMigrator) end def fluentmigrator config ||= FluentMigrator.fluentmigratorconfig yield(config) if block_given? config end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
albacore-1.0.0 | lib/albacore/config/fluentmigratorconfig.rb |
albacore-1.0.0.rc.3 | lib/albacore/config/fluentmigratorconfig.rb |