Class: FluentCommandBuilder::DotCover::V21::Delete
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::DotCover::V21::Delete
show all
- Defined in:
- lib/fluent_command_builder/command_builders/dotcover_21.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.
180
181
182
183
184
|
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 180
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
185
186
187
188
189
|
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 185
def log_file(log_file)
@b.append " /logFile=#{@b.format log_file}"
yield @b if block_given?
self
end
|
#source(source) {|@b| ... } ⇒ Object
190
191
192
193
194
|
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 190
def source(source)
@b.append " /source=#{@b.format source}"
yield @b if block_given?
self
end
|