Class: FluentCommandBuilder::DotCover::V22::Merge
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::DotCover::V22::Merge
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) ⇒ Merge
Returns a new instance of Merge.
218
219
220
221
222
|
# File 'lib/fluent_command_builder/command_builders/dotcover_22.rb', line 218
def initialize(underlying_builder, configuration_file=nil)
super underlying_builder
@b.append ' merge'
@b.append " #{@b.format configuration_file}" unless configuration_file.nil?
end
|
Instance Method Details
#log_file(log_file) {|@b| ... } ⇒ Object
223
224
225
226
227
|
# File 'lib/fluent_command_builder/command_builders/dotcover_22.rb', line 223
def log_file(log_file)
@b.append " /logFile=#{@b.format log_file}"
yield @b if block_given?
self
end
|
#output(snapshot_path) {|@b| ... } ⇒ Object
228
229
230
231
232
|
# File 'lib/fluent_command_builder/command_builders/dotcover_22.rb', line 228
def output(snapshot_path)
@b.append " /output=#{@b.format snapshot_path}"
yield @b if block_given?
self
end
|
#source(source) {|@b| ... } ⇒ Object
233
234
235
236
237
|
# File 'lib/fluent_command_builder/command_builders/dotcover_22.rb', line 233
def source(source)
@b.append " /source=#{@b.format source}"
yield @b if block_given?
self
end
|
#temp_dir(temp_dir) {|@b| ... } ⇒ Object
238
239
240
241
242
|
# File 'lib/fluent_command_builder/command_builders/dotcover_22.rb', line 238
def temp_dir(temp_dir)
@b.append " /tempDir=#{@b.format temp_dir}"
yield @b if block_given?
self
end
|