Sha256: 3f938674f269a4b627a4ea0bb371a923d21d3add41e1daa4a7dbee4c1f4d5276

Contents?: true

Size: 648 Bytes

Versions: 4

Compression:

Stored size: 648 Bytes

Contents

module Mutant
  class Reporter
    # Reporter that reports in human readable format
    class CLI < self
      include Concord.new(:output)

      NL = "\n".freeze

      # Report progress object
      #
      # @param [Object] object
      #
      # @return [self]
      #
      # @api private
      #
      def progress(object)
        Progress.run(output, object)
        self
      end

      # Report object
      #
      # @param [Object] object
      #
      # @return [self]
      #
      # @api private
      #
      def report(object)
        Report.run(output, object)
        self
      end

    end # CLI
  end # Reporter
end # Mutant

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mutant-0.5.23 lib/mutant/reporter/cli.rb
mutant-0.5.22 lib/mutant/reporter/cli.rb
mutant-0.5.21 lib/mutant/reporter/cli.rb
mutant-0.5.20 lib/mutant/reporter/cli.rb