Class: FluentCommandBuilder::Tf::TEE2010::Profiles
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Tf::TEE2010::Profiles
- Defined in:
- lib/fluent_command_builder/command_builders/tf_tee_2010.rb
Instance Method Summary collapse
- #format(format) {|@builder| ... } ⇒ Object
-
#initialize(builder) ⇒ Profiles
constructor
A new instance of Profiles.
Methods inherited from CommandBase
Constructor Details
#initialize(builder) ⇒ Profiles
Returns a new instance of Profiles.
1194 1195 1196 1197 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1194 def initialize(builder) super builder @builder.append ' profiles' end |
Instance Method Details
#format(format) {|@builder| ... } ⇒ Object
1198 1199 1200 1201 1202 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1198 def format(format) @builder.append " -format:#{@builder.format format}" yield @builder if block_given? self end |