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