Sha256: 8865ecf9a0cf895444f177d584aa32dccedddc651314eb5ec9bdcfe4b8b5c5f6

Contents?: true

Size: 660 Bytes

Versions: 25

Compression:

Stored size: 660 Bytes

Contents

module CC
  module Analyzer
    module Formatters
      class Formatter
        def initialize(filesystem, output = $stdout)
          @filesystem = filesystem
          @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

25 entries across 25 versions & 1 rubygems

Version Path
codeclimate-0.9.7 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.9.6 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.9.5 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.9.4 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.9.3 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.9.2 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.9.1 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.9.0 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.8.1 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.8.0 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.7.2 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.7.0 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.6.4 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.6.3 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.6.2 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.6.1 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.6.0 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.5.0 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.4.4 lib/cc/analyzer/formatters/formatter.rb
codeclimate-0.4.3 lib/cc/analyzer/formatters/formatter.rb