Class: FluentCommandBuilder::NuGet::V21::Config
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::NuGet::V21::Config
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) ⇒ Config
Returns a new instance of Config.
62
63
64
65
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 62
def initialize(underlying_builder)
super underlying_builder
@b.append ' config'
end
|
Instance Method Details
#help {|@b| ... } ⇒ Object
71
72
73
74
75
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 71
def help
@b.append ' -Help'
yield @b if block_given?
self
end
|
#non_interactive {|@b| ... } ⇒ Object
81
82
83
84
85
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 81
def non_interactive
@b.append ' -NonInteractive'
yield @b if block_given?
self
end
|
#set(name, value) {|@b| ... } ⇒ Object
66
67
68
69
70
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 66
def set(name, value)
@b.append " -Set #{@b.format name}=#{@b.format value}"
yield @b if block_given?
self
end
|
#verbosity(verbosity) {|@b| ... } ⇒ Object
76
77
78
79
80
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 76
def verbosity(verbosity)
@b.append " -Verbosity #{@b.format verbosity}"
yield @b if block_given?
self
end
|