Class: FluentCommandBuilder::DotCover::V22::Zip
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::DotCover::V22::Zip
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) ⇒ Zip
Returns a new instance of Zip.
284
285
286
287
288
|
# File 'lib/fluent_command_builder/command_builders/dotcover_22.rb', line 284
def initialize(underlying_builder, configuration_file=nil)
super underlying_builder
@b.append ' zip'
@b.append " #{@b.format configuration_file}" unless configuration_file.nil?
end
|
Instance Method Details
#log_file(log_file) {|@b| ... } ⇒ Object
289
290
291
292
293
|
# File 'lib/fluent_command_builder/command_builders/dotcover_22.rb', line 289
def log_file(log_file)
@b.append " /logFile=#{@b.format log_file}"
yield @b if block_given?
self
end
|
#output(snapshot_path) {|@b| ... } ⇒ Object
294
295
296
297
298
|
# File 'lib/fluent_command_builder/command_builders/dotcover_22.rb', line 294
def output(snapshot_path)
@b.append " /output=#{@b.format snapshot_path}"
yield @b if block_given?
self
end
|
#source(source) {|@b| ... } ⇒ Object
299
300
301
302
303
|
# File 'lib/fluent_command_builder/command_builders/dotcover_22.rb', line 299
def source(source)
@b.append " /source=#{@b.format source}"
yield @b if block_given?
self
end
|