Sha256: 30f9e7f2946c938570732a950b3cfd230c2da76c09ea6bc422f16b3eefe24149

Contents?: true

Size: 827 Bytes

Versions: 2

Compression:

Stored size: 827 Bytes

Contents

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

          handle(Mutant::Runner::Config)

          delegate :config

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mutant-0.5.23 lib/mutant/reporter/cli/progress/config.rb
mutant-0.5.22 lib/mutant/reporter/cli/progress/config.rb