Class: FluentCommandBuilder::Tf::TEE2010::ProductKey
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Tf::TEE2010::ProductKey
- Defined in:
- lib/fluent_command_builder/command_builders/tf_tee_2010.rb
Instance Method Summary collapse
-
#initialize(builder) ⇒ ProductKey
constructor
A new instance of ProductKey.
- #set(my_product_key) {|@builder| ... } ⇒ Object
- #trial {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder) ⇒ ProductKey
Returns a new instance of ProductKey.
1136 1137 1138 1139 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1136 def initialize(builder) super builder @builder.append ' productKey' end |
Instance Method Details
#set(my_product_key) {|@builder| ... } ⇒ Object
1140 1141 1142 1143 1144 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1140 def set(my_product_key) @builder.append " -set:#{@builder.format my_product_key}" yield @builder if block_given? self end |
#trial {|@builder| ... } ⇒ Object
1145 1146 1147 1148 1149 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1145 def trial @builder.append ' -trial' yield @builder if block_given? self end |