Module: Configuration::NuGetPush

Includes:
Albacore::Configuration
Included in:
NuGetPush
Defined in:
lib/albacore/config/nugetpushconfig.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Albacore::Configuration

included

Class Method Details

.nugetpushconfigObject



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

def self.nugetpushconfig
  @config ||= OpenStruct.new.extend(OpenStructToHash).extend(NuGetPush)
end

Instance Method Details

#nugetpush {|@config| ... } ⇒ Object

Yields:

  • (@config)


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

def nugetpush
  @config ||= NuGetPush.nugetpushconfig
  yield(@config) if block_given?
  @config
end