Class: FluentCommandBuilder::DotCover::V22::Delete
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::DotCover::V22::Delete
show all
- Defined in:
- lib/fluent_command_builder/command_builders/dotcover_22.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, configuration_file = nil) ⇒ Delete
Returns a new instance of Delete.
179
180
181
182
183
|
# File 'lib/fluent_command_builder/command_builders/dotcover_22.rb', line 179
def initialize(underlying_builder, configuration_file=nil)
super underlying_builder
@b.append ' delete'
@b.append " #{@b.format configuration_file}" unless configuration_file.nil?
end
|
Instance Method Details
#log_file(log_file) {|@b| ... } ⇒ Object
184
185
186
187
188
|
# File 'lib/fluent_command_builder/command_builders/dotcover_22.rb', line 184
def log_file(log_file)
@b.append " /logFile=#{@b.format log_file}"
yield @b if block_given?
self
end
|
#source(source) {|@b| ... } ⇒ Object
189
190
191
192
193
|
# File 'lib/fluent_command_builder/command_builders/dotcover_22.rb', line 189
def source(source)
@b.append " /source=#{@b.format source}"
yield @b if block_given?
self
end
|