Module: FluentCommandBuilder::DotCover::V21

Defined in:
lib/fluent_command_builder/command_builders/dotcover_21.rb

Defined Under Namespace

Classes: Analyse, Cover, Delete, DotCover, List, Merge, Report, Version, Zip

Constant Summary collapse

VERSION =
'2.1'
@@config =
CommandBuilderConfig.new FluentCommandBuilder::DotCover::COMMAND_NAME, VERSION

Instance Method Summary collapse

Instance Method Details

#configure_dotcover {|@@config| ... } ⇒ Object

Yields:

  • (@@config)


12
13
14
15
16
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 12

def configure_dotcover
  yield @@config
  @@config.validate_path
  @@config.validate_version
end

#dotcover {|b| ... } ⇒ Object

Yields:

  • (b)


17
18
19
20
21
22
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 17

def dotcover
  b = UnderlyingBuilder.new @@config
  c = DotCover.new(b)
  yield b if block_given?
  c
end