Sha256: d89916f29e83b6bcbd803a5ce882f8bae70eeadd3efe524e5163f8ad0c418a2a

Contents?: true

Size: 779 Bytes

Versions: 4

Compression:

Stored size: 779 Bytes

Contents

module Mutant
  class Reporter
    class CLI
      class Progress
        # Progress printer for configuration
        class Config < self

          handle(Mutant::Config)

          delegate :matcher, :strategy, :expected_coverage

          # Report configuration
          #
          # @param [Mutant::Config] config
          #
          # @return [self]
          #
          # @api private
          #
          def run
            info 'Mutant configuration:'
            info 'Matcher:         %s',     matcher.inspect
            info 'Strategy:        %s',     strategy.inspect
            info 'Expect Coverage: %02f%%', expected_coverage.inspect
            self
          end

        end # Progress
      end # Printer
    end # CLI
  end # Reporter
end # Mutant

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mutant-0.5.16 lib/mutant/reporter/cli/progress/config.rb
mutant-0.5.15 lib/mutant/reporter/cli/progress/config.rb
mutant-0.5.14 lib/mutant/reporter/cli/progress/config.rb
mutant-0.5.13 lib/mutant/reporter/cli/progress/config.rb