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

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder) ⇒ DotCover

Returns a new instance of DotCover.



24
25
26
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 24

def initialize(underlying_builder)
  super underlying_builder
end

Instance Method Details

#analyse(configuration_file = nil) ⇒ Object



27
28
29
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 27

def analyse(configuration_file=nil)
  Analyse.new @b, configuration_file
end

#cover(configuration_file = nil) ⇒ Object



30
31
32
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 30

def cover(configuration_file=nil)
  Cover.new @b, configuration_file
end

#delete(configuration_file = nil) ⇒ Object



33
34
35
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 33

def delete(configuration_file=nil)
  Delete.new @b, configuration_file
end

#help(command = nil, file_name = nil) {|@b| ... } ⇒ Object

Yields:

  • (@b)


36
37
38
39
40
41
42
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 36

def help(command=nil, file_name=nil)
  @b.append ' help'
  @b.append " #{@b.format command}" unless command.nil?
  @b.append " #{@b.format file_name}" unless file_name.nil?
  yield @b if block_given?
  self
end

#list(configuration_file = nil) ⇒ Object



43
44
45
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 43

def list(configuration_file=nil)
  List.new @b, configuration_file
end

#merge(configuration_file = nil) ⇒ Object



46
47
48
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 46

def merge(configuration_file=nil)
  Merge.new @b, configuration_file
end

#report(configuration_file = nil) ⇒ Object



49
50
51
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 49

def report(configuration_file=nil)
  Report.new @b, configuration_file
end

#version(output_file_name = nil) ⇒ Object



52
53
54
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 52

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

#zip(configuration_file = nil) ⇒ Object



55
56
57
# File 'lib/fluent_command_builder/command_builders/dotcover_12.rb', line 55

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