Class: FluentCommandBuilder::NuGet::V21::Spec
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::NuGet::V21::Spec
show all
- Defined in:
- lib/fluent_command_builder/command_builders/nuget_21.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.
443
444
445
446
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 443
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
447
448
449
450
451
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 447
def assembly_path(assembly_path)
@b.append " -AssemblyPath #{@b.format assembly_path}"
yield @b if block_given?
self
end
|
#force {|@b| ... } ⇒ Object
452
453
454
455
456
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 452
def force
@b.append ' -Force'
yield @b if block_given?
self
end
|
#help {|@b| ... } ⇒ Object
457
458
459
460
461
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 457
def help
@b.append ' -Help'
yield @b if block_given?
self
end
|
#non_interactive {|@b| ... } ⇒ Object
467
468
469
470
471
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 467
def non_interactive
@b.append ' -NonInteractive'
yield @b if block_given?
self
end
|
#verbosity(verbosity) {|@b| ... } ⇒ Object
462
463
464
465
466
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 462
def verbosity(verbosity)
@b.append " -Verbosity #{@b.format verbosity}"
yield @b if block_given?
self
end
|