Class: FluentCommandBuilder::TeamFoundationTEE::V100::Profiles

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) ⇒ Profiles

Returns a new instance of Profiles.



1197
1198
1199
1200
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1197

def initialize(underlying_builder)
  super underlying_builder
  @b.append ' profiles'
end

Instance Method Details

#format(format) {|@b| ... } ⇒ Object

Yields:

  • (@b)


1201
1202
1203
1204
1205
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1201

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