Class: FluentCommandBuilder::DotCover::V12::Version
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::DotCover::V12::Version
- Defined in:
- lib/fluent_command_builder/command_builders/dotcover_12.rb
Instance Method Summary collapse
-
#initialize(underlying_builder, output_file_name = nil) ⇒ Version
constructor
A new instance of Version.
- #log_file(log_file) {|@b| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(underlying_builder, output_file_name = nil) ⇒ Version
Returns a new instance of Version.
262 263 264 265 266 |
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 262 def initialize(, output_file_name=nil) super @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 |