Class: FluentCommandBuilder::TeamFoundationTEE::V101::EditProfile

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder, existing_profile_name) ⇒ EditProfile

Returns a new instance of EditProfile.



1187
1188
1189
1190
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1187

def initialize(underlying_builder, existing_profile_name)
  super underlying_builder
  @b.append " profile -edit #{@b.format existing_profile_name}"
end

Instance Method Details

#boolean(property_name, value) {|@b| ... } ⇒ Object

Yields:

  • (@b)


1196
1197
1198
1199
1200
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1196

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

Yields:

  • (@b)


1201
1202
1203
1204
1205
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1201

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

Yields:

  • (@b)


1191
1192
1193
1194
1195
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1191

def string(property_name, value)
  @b.append " -string:#{@b.format property_name}=#{@b.format value}"
  yield @b if block_given?
  self
end