Class: FluentCommandBuilder::TeamFoundationTEE::V101::ProductKey
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::ProductKey
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) ⇒ ProductKey
Returns a new instance of ProductKey.
1172
1173
1174
1175
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1172
def initialize(underlying_builder)
super underlying_builder
@b.append ' productKey'
end
|
Instance Method Details
#set(my_product_key) {|@b| ... } ⇒ Object
1176
1177
1178
1179
1180
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1176
def set(my_product_key)
@b.append " -set:#{@b.format my_product_key}"
yield @b if block_given?
self
end
|
#trial {|@b| ... } ⇒ Object
1181
1182
1183
1184
1185
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1181
def trial
@b.append ' -trial'
yield @b if block_given?
self
end
|