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