Class: FluentCommandBuilder::DotCover::V12::DotCover

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/dotcover_12.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#execute!, #to_s

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

Yields:

  • (@builder)


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

#version(output_file_name = nil) ⇒ Object



37
38
39
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 37

def version(output_file_name=nil)
  Version.new @builder, output_file_name
end

#zip(configuration_file = nil) ⇒ Object



40
41
42
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 40

def zip(configuration_file=nil)
  Zip.new @builder, configuration_file
end