Class: FluentCommandBuilder::TeamFoundationTEE::V100::NewProfile
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::NewProfile
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, new_profile_name) ⇒ NewProfile
Returns a new instance of NewProfile.
1176
1177
1178
1179
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1176
def initialize(underlying_builder, new_profile_name)
super underlying_builder
@b.append " profile -new #{@b.format new_profile_name}"
end
|
Instance Method Details
#boolean(property_name, value) {|@b| ... } ⇒ Object
1185
1186
1187
1188
1189
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1185
def boolean(property_name, value)
@b.append " -boolean:#{@b.format property_name}=#{@b.format value}"
yield @b if block_given?
self
end
|
#number(property_name, value) {|@b| ... } ⇒ Object
1190
1191
1192
1193
1194
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1190
def number(property_name, value)
@b.append " -number:#{@b.format property_name}=#{@b.format value}"
yield @b if block_given?
self
end
|
#string(property_name, value) {|@b| ... } ⇒ Object
1180
1181
1182
1183
1184
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1180
def string(property_name, value)
@b.append " -string:#{@b.format property_name}=#{@b.format value}"
yield @b if block_given?
self
end
|