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(builder, output_file_name = nil) ⇒ Version
constructor
A new instance of Version.
- #log_file(log_file) {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder, output_file_name = nil) ⇒ Version
Returns a new instance of Version.
247 248 249 250 251 |
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 247 def initialize(builder, output_file_name=nil) super builder @builder.append ' version' @builder.append " #{@builder.format output_file_name}" unless output_file_name.nil? end |
Instance Method Details
#log_file(log_file) {|@builder| ... } ⇒ Object
252 253 254 255 256 |
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 252 def log_file(log_file) @builder.append " /logFile=#{@builder.format log_file}" yield @builder if block_given? self end |