Class: FluentCommandBuilder::DotCover::V22::List
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::DotCover::V22::List
show all
- Defined in:
- lib/fluent_command_builder/command_builders/dotcover_22.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.
196
197
198
199
200
|
# File 'lib/fluent_command_builder/command_builders/dotcover_22.rb', line 196
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
201
202
203
204
205
|
# File 'lib/fluent_command_builder/command_builders/dotcover_22.rb', line 201
def log_file(log_file)
@b.append " /logFile=#{@b.format log_file}"
yield @b if block_given?
self
end
|
#output(snapshot_path) {|@b| ... } ⇒ Object
206
207
208
209
210
|
# File 'lib/fluent_command_builder/command_builders/dotcover_22.rb', line 206
def output(snapshot_path)
@b.append " /output=#{@b.format snapshot_path}"
yield @b if block_given?
self
end
|
#source(source) {|@b| ... } ⇒ Object
211
212
213
214
215
|
# File 'lib/fluent_command_builder/command_builders/dotcover_22.rb', line 211
def source(source)
@b.append " /source=#{@b.format source}"
yield @b if block_given?
self
end
|