Class: FluentCommandBuilder::NuGet::V20::Spec
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::NuGet::V20::Spec
show all
- Defined in:
- lib/fluent_command_builder/command_builders/nuget_20.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, package_id) ⇒ Spec
Returns a new instance of Spec.
367
368
369
370
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 367
def initialize(underlying_builder, package_id)
super underlying_builder
@b.append " spec #{@b.format package_id}"
end
|
Instance Method Details
#assembly_path(assembly_path) {|@b| ... } ⇒ Object
371
372
373
374
375
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 371
def assembly_path(assembly_path)
@b.append " -AssemblyPath #{@b.format assembly_path}"
yield @b if block_given?
self
end
|
#force {|@b| ... } ⇒ Object
376
377
378
379
380
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 376
def force
@b.append ' -Force'
yield @b if block_given?
self
end
|
#help {|@b| ... } ⇒ Object
381
382
383
384
385
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 381
def help
@b.append ' -Help'
yield @b if block_given?
self
end
|