Class: FluentCommandBuilder::DotCover::V11::List
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::DotCover::V11::List
show all
- Defined in:
- lib/fluent_command_builder/command_builders/dotcover_11.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, configuration_file = nil) ⇒ List
Returns a new instance of List.
187
188
189
190
191
|
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 187
def initialize(underlying_builder, configuration_file=nil)
super underlying_builder
@b.append ' list'
@b.append " #{@b.format configuration_file}" unless configuration_file.nil?
end
|
Instance Method Details
#log_file(log_file) {|@b| ... } ⇒ Object
192
193
194
195
196
|
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 192
def log_file(log_file)
@b.append " /logFile=#{@b.format log_file}"
yield @b if block_given?
self
end
|
#output(snapshot_path) {|@b| ... } ⇒ Object
197
198
199
200
201
|
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 197
def output(snapshot_path)
@b.append " /output=#{@b.format snapshot_path}"
yield @b if block_given?
self
end
|
#source(source) {|@b| ... } ⇒ Object
202
203
204
205
206
|
# File 'lib/fluent_command_builder/command_builders/dotcover_11.rb', line 202
def source(source)
@b.append " /source=#{@b.format source}"
yield @b if block_given?
self
end
|