Class: FluentCommandBuilder::DotCover::V12::DotCover
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::DotCover::V12::DotCover
- Defined in:
- lib/fluent_command_builder/command_builders/dotcover_12.rb
Instance Method Summary collapse
- #analyse(configuration_file = nil) ⇒ Object
- #cover(configuration_file = nil) ⇒ Object
- #delete(configuration_file = nil) ⇒ Object
- #help(command = nil, file_name = nil) {|@builder| ... } ⇒ Object
-
#initialize(builder) ⇒ DotCover
constructor
A new instance of DotCover.
- #list(configuration_file = nil) ⇒ Object
- #merge(configuration_file = nil) ⇒ Object
- #report(configuration_file = nil) ⇒ Object
- #version(output_file_name = nil) ⇒ Object
- #zip(configuration_file = nil) ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder) ⇒ DotCover
Returns a new instance of DotCover.
9 10 11 |
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 9 def initialize(builder) super builder end |
Instance Method Details
#analyse(configuration_file = nil) ⇒ Object
12 13 14 |
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 12 def analyse(configuration_file=nil) Analyse.new @builder, configuration_file end |
#cover(configuration_file = nil) ⇒ Object
15 16 17 |
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 15 def cover(configuration_file=nil) Cover.new @builder, configuration_file end |
#delete(configuration_file = nil) ⇒ Object
18 19 20 |
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 18 def delete(configuration_file=nil) Delete.new @builder, configuration_file end |
#help(command = nil, file_name = nil) {|@builder| ... } ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 21 def help(command=nil, file_name=nil) @builder.append ' help' @builder.append " #{@builder.format command}" unless command.nil? @builder.append " #{@builder.format file_name}" unless file_name.nil? yield @builder if block_given? self end |
#list(configuration_file = nil) ⇒ Object
28 29 30 |
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 28 def list(configuration_file=nil) List.new @builder, configuration_file end |
#merge(configuration_file = nil) ⇒ Object
31 32 33 |
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 31 def merge(configuration_file=nil) Merge.new @builder, configuration_file end |
#report(configuration_file = nil) ⇒ Object
34 35 36 |
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 34 def report(configuration_file=nil) Report.new @builder, configuration_file end |