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