Class: FluentCommandBuilder::DotCover::V11::Merge
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::DotCover::V11::Merge
- Defined in:
- lib/fluent_command_builder/command_builders/dotcover_11.rb
Instance Method Summary collapse
-
#initialize(builder, configuration_file = nil) ⇒ Merge
constructor
A new instance of Merge.
- #log_file(log_file) {|@builder| ... } ⇒ Object
- #output(snapshot_path) {|@builder| ... } ⇒ Object
- #source(source) {|@builder| ... } ⇒ Object
- #temp_dir(temp_dir) {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder, configuration_file = nil) ⇒ Merge
Returns a new instance of Merge.
193 194 195 196 197 |
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 193 def initialize(builder, configuration_file=nil) super builder @builder.append ' merge' @builder.append " #{@builder.format configuration_file}" unless configuration_file.nil? end |
Instance Method Details
#log_file(log_file) {|@builder| ... } ⇒ Object
198 199 200 201 202 |
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 198 def log_file(log_file) @builder.append " /logFile=#{@builder.format log_file}" yield @builder if block_given? self end |
#output(snapshot_path) {|@builder| ... } ⇒ Object
203 204 205 206 207 |
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 203 def output(snapshot_path) @builder.append " /output=#{@builder.format snapshot_path}" yield @builder if block_given? self end |
#source(source) {|@builder| ... } ⇒ Object
208 209 210 211 212 |
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 208 def source(source) @builder.append " /source=#{@builder.format source}" yield @builder if block_given? self end |
#temp_dir(temp_dir) {|@builder| ... } ⇒ Object
213 214 215 216 217 |
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 213 def temp_dir(temp_dir) @builder.append " /tempDir=#{@builder.format temp_dir}" yield @builder if block_given? self end |