Class: FluentCommandBuilder::DotCover::V21::Cover
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::DotCover::V21::Cover
show all
- Defined in:
- lib/fluent_command_builder/command_builders/dotcover_21.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, configuration_file = nil) ⇒ Cover
Returns a new instance of Cover.
123
124
125
126
127
|
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 123
def initialize(underlying_builder, configuration_file=nil)
super underlying_builder
@b.append ' cover'
@b.append " #{@b.format configuration_file}" unless configuration_file.nil?
end
|
Instance Method Details
#analyse_target_arguments(bool) {|@b| ... } ⇒ Object
128
129
130
131
132
|
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 128
def analyse_target_arguments(bool)
@b.append " /analyseTargetArguments=#{@b.format bool}"
yield @b if block_given?
self
end
|
#attribute_filters(filters) {|@b| ... } ⇒ Object
133
134
135
136
137
|
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 133
def attribute_filters(filters)
@b.append " /attributeFilters=#{@b.format filters, ';'}"
yield @b if block_given?
self
end
|
#filters(filters) {|@b| ... } ⇒ Object
138
139
140
141
142
|
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 138
def filters(filters)
@b.append " /filters=#{@b.format filters, ';'}"
yield @b if block_given?
self
end
|
#inherit_console(bool) {|@b| ... } ⇒ Object
143
144
145
146
147
|
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 143
def inherit_console(bool)
@b.append " /inheritConsole=#{@b.format bool}"
yield @b if block_given?
self
end
|
#log_file(log_file) {|@b| ... } ⇒ Object
148
149
150
151
152
|
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 148
def log_file(log_file)
@b.append " /logFile=#{@b.format log_file}"
yield @b if block_given?
self
end
|
#output(snapshot_path) {|@b| ... } ⇒ Object
153
154
155
156
157
|
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 153
def output(snapshot_path)
@b.append " /output=#{@b.format snapshot_path}"
yield @b if block_given?
self
end
|
#target_arguments(target_arguments) {|@b| ... } ⇒ Object
158
159
160
161
162
|
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 158
def target_arguments(target_arguments)
@b.append " /targetArguments=#{@b.format target_arguments}"
yield @b if block_given?
self
end
|
#target_executable(target_executable) {|@b| ... } ⇒ Object
163
164
165
166
167
|
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 163
def target_executable(target_executable)
@b.append " /targetExecutable=#{@b.format target_executable}"
yield @b if block_given?
self
end
|
#target_working_dir(target_working_dir) {|@b| ... } ⇒ Object
168
169
170
171
172
|
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 168
def target_working_dir(target_working_dir)
@b.append " /targetWorkingDir=#{@b.format target_working_dir}"
yield @b if block_given?
self
end
|
#temp_dir(temp_dir) {|@b| ... } ⇒ Object
173
174
175
176
177
|
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 173
def temp_dir(temp_dir)
@b.append " /tempDir=#{@b.format temp_dir}"
yield @b if block_given?
self
end
|