Class: FluentCommandBuilder::DotCover::V12::Version
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::DotCover::V12::Version
show all
- Defined in:
- lib/fluent_command_builder/command_builders/dotcover_12.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, output_file_name = nil) ⇒ Version
262
263
264
265
266
|
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 262
def initialize(underlying_builder, output_file_name=nil)
super underlying_builder
@b.append ' version'
@b.append " #{@b.format output_file_name}" unless output_file_name.nil?
end
|
Instance Method Details
#log_file(log_file) {|@b| ... } ⇒ Object
267
268
269
270
271
|
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 267
def log_file(log_file)
@b.append " /logFile=#{@b.format log_file}"
yield @b if block_given?
self
end
|