Class: FluentCommandBuilder::DotCover::V12::Delete
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::DotCover::V12::Delete
- Defined in:
- lib/fluent_command_builder/command_builders/dotcover_12.rb
Instance Method Summary collapse
-
#initialize(builder, configuration_file = nil) ⇒ Delete
constructor
A new instance of Delete.
- #log_file(log_file) {|@builder| ... } ⇒ Object
- #source(source) {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder, configuration_file = nil) ⇒ Delete
154 155 156 157 158 |
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 154 def initialize(builder, configuration_file=nil) super builder @builder.append ' delete' @builder.append " #{@builder.format configuration_file}" unless configuration_file.nil? end |
Instance Method Details
#log_file(log_file) {|@builder| ... } ⇒ Object
159 160 161 162 163 |
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 159 def log_file(log_file) @builder.append " /logFile=#{@builder.format log_file}" yield @builder if block_given? self end |
#source(source) {|@builder| ... } ⇒ Object
164 165 166 167 168 |
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 164 def source(source) @builder.append " /source=#{@builder.format source}" yield @builder if block_given? self end |