Module: FluentCommandBuilder::DotCover::V10

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

Defined Under Namespace

Classes: DotCover

Constant Summary collapse

VERSION =
'1.0'
@@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_10.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_10.rb', line 17

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