Sha256: a2b389f99bdbb9dbf28811392abbffd05c0b303fa642f621362111ffef88e336

Contents?: true

Size: 412 Bytes

Versions: 2

Compression:

Stored size: 412 Bytes

Contents

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

module Configuration
  module NuGetInstall
    include Albacore::Configuration

    def self.nugetinstallconfig
      @config ||= OpenStruct.new.extend(OpenStructToHash).extend(NuGetInstall)
    end

    def nugetinstall
      config ||= NuGetInstall.nugetinstallconfig
      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/nugetinstallconfig.rb
albacore-1.0.0.rc.3 lib/albacore/config/nugetinstallconfig.rb