Class: FluentCommandBuilder::DotCover::V21::Version
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::DotCover::V21::Version
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, output_file_name = nil) ⇒ Version
272
273
274
275
276
|
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 272
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
277
278
279
280
281
|
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 277
def log_file(log_file)
@b.append " /logFile=#{@b.format log_file}"
yield @b if block_given?
self
end
|