Module: FluentCommandBuilder::NuGet::V20
- Defined in:
- lib/fluent_command_builder/command_builders/nuget_20.rb
Defined Under Namespace
Classes: Config, Delete, Help, Install, List, NuGet, Pack, Publish, Push, SetApiKey, Sources, Spec, Update
Constant Summary
collapse
- VERSION =
'2.0'
- @@config =
CommandBuilderConfig.new FluentCommandBuilder::NuGet::COMMAND_NAME, VERSION
Instance Method Summary
collapse
Instance Method Details
12
13
14
15
16
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 12
def configure_nuget
yield @@config
@@config.validate_path
@@config.validate_version
end
|
#nuget {|b| ... } ⇒ Object
17
18
19
20
21
22
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 17
def nuget
b = UnderlyingBuilder.new @@config
c = NuGet.new(b)
yield b if block_given?
c
end
|