Sha256: 014a338076fde3e282c6f761744b473d24b6960edb3839f61605aea14996f303

Contents?: true

Size: 353 Bytes

Versions: 3

Compression:

Stored size: 353 Bytes

Contents

require 'albacore/support/openstruct'

module Configuration
  module FluentMigrator
    include Albacore::Configuration

    def fluentmigrator
      @fluentmigratorconfig ||= OpenStruct.new.extend(OpenStructToHash).extend(FluentMigrator)
      yield(@fluentmigratorconfig) if block_given?
      @fluentmigratorconfig
    end
  end
end


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
albacore-0.2.5 lib/albacore/config/fluentmigratorrunnerconfig.rb
albacore-0.2.4 lib/albacore/config/fluentmigratorrunnerconfig.rb
albacore-0.2.3 lib/albacore/config/fluentmigratorrunnerconfig.rb