Class: FluentCommandBuilder::TeamFoundationTEE::V100::EditProfile

Inherits:
CommandBase
  • Object
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, existing_profile_name) ⇒ EditProfile

Returns a new instance of EditProfile.



1155
1156
1157
1158
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1155

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)


1164
1165
1166
1167
1168
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1164

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)


1169
1170
1171
1172
1173
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1169

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)


1159
1160
1161
1162
1163
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1159

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