Module: FluentCommandBuilder::FastLinkChecker::V21

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

Defined Under Namespace

Classes: FastLinkChecker

Constant Summary collapse

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

Instance Method Summary collapse

Instance Method Details

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

Yields:

  • (@@config)


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

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

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

Yields:

  • (b)


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

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