Sha256: 3d6610c5c727ce5ee68330d72ed0b68c991b40518fcd39d920b2c26dfa65705e

Contents?: true

Size: 387 Bytes

Versions: 2

Compression:

Stored size: 387 Bytes

Contents

require "ostruct"
require "albacore/support/openstruct"

module Configuration
  module NuGetUpdate
    include Albacore::Configuration

    def self.nugetupdateconfig
      @config ||= OpenStruct.new.extend(OpenStructToHash).extend(NuGetUpdate)
    end

    def nugetupdate
      config ||= NuGetUpdate.nugetupdateconfig
      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/nugetupdateconfig.rb
albacore-1.0.0.rc.3 lib/albacore/config/nugetupdateconfig.rb