Sha256: ddd82463e25680fe23ec8f8f3afa2b591a5e0c4e97e9c9aa7f61ed45083066cb

Contents?: true

Size: 582 Bytes

Versions: 2

Compression:

Stored size: 582 Bytes

Contents

module CC
  module Analyzer
    module Formatters
      class Formatter
        def initialize(output = $stdout)
          @output = output
        end

        def write(data)
        end

        def started
        end

        def engine_running(engine)
          @current_engine = engine
          yield
        ensure
          @current_engine = nil
        end

        def finished
        end

        def failed(output)
        end

        InvalidFormatterError = Class.new(StandardError)

        private

        attr_reader :current_engine
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
codeclimate-0.1.4 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.1.3 lib/cc/analyzer/formatters/formatter.rb