Sha256: 38db551e81f014bce594bbe60d8e24bd7904b9b2845adde118691d3e8b94d52f

Contents?: true

Size: 613 Bytes

Versions: 10

Compression:

Stored size: 613 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 close
        end

        def failed(output)
        end

        InvalidFormatterError = Class.new(StandardError)

        private

        attr_reader :current_engine
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
codeclimate-0.2.12 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.2.11 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.2.9 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.2.7 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.2.6 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.2.4 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.2.2 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.2.1 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.2 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.1.5 lib/cc/analyzer/formatters/formatter.rb