Sha256: eee1a9cd05711244f44cb524ae5869793341b45e51f6d6a94fc515d4c5817795

Contents?: true

Size: 667 Bytes

Versions: 7

Compression:

Stored size: 667 Bytes

Contents

# encoding: utf-8

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

7 entries across 7 versions & 1 rubygems

Version Path
mutant-0.5.19 lib/mutant/reporter/cli.rb
mutant-0.5.18 lib/mutant/reporter/cli.rb
mutant-0.5.17 lib/mutant/reporter/cli.rb
mutant-0.5.16 lib/mutant/reporter/cli.rb
mutant-0.5.15 lib/mutant/reporter/cli.rb
mutant-0.5.14 lib/mutant/reporter/cli.rb
mutant-0.5.13 lib/mutant/reporter/cli.rb