Module: Configuration::NuGetUpdate

Includes:
Albacore::Configuration
Included in:
NuGetUpdate
Defined in:
lib/albacore/config/nugetupdateconfig.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Albacore::Configuration

included

Class Method Details

.nugetupdateconfigObject



8
9
10
# File 'lib/albacore/config/nugetupdateconfig.rb', line 8

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

Instance Method Details

#nugetupdate {|config| ... } ⇒ Object

Yields:

  • (config)


12
13
14
15
16
# File 'lib/albacore/config/nugetupdateconfig.rb', line 12

def nugetupdate
  config ||= NuGetUpdate.nugetupdateconfig
  yield(config) if block_given?
  config
end