Sha256: 9d06b65d0752c69505d1c0df128e1a837ba641f1fb719536d272641c66e732e1

Contents?: true

Size: 421 Bytes

Versions: 97

Compression:

Stored size: 421 Bytes

Contents

module CC
  module Analyzer
    module MeasurementValidations
      class Validation
        def initialize(object)
          @object = object
        end

        def valid?
          raise NotImplementedError
        end

        def message
          raise NotImplementedError
        end

        private

        attr_reader :object

        def type
          object["type"]
        end
      end
    end
  end
end

Version data entries

97 entries across 97 versions & 2 rubygems

Version Path
codeclimate-0.78.0 lib/cc/analyzer/measurement_validations/validation.rb
codeclimate-0.77.0 lib/cc/analyzer/measurement_validations/validation.rb
codeclimate-0.76.0 lib/cc/analyzer/measurement_validations/validation.rb
codeclimate-0.75.0 lib/cc/analyzer/measurement_validations/validation.rb
codeclimate-0.74.0 lib/cc/analyzer/measurement_validations/validation.rb
codeclimate-0.73.0 lib/cc/analyzer/measurement_validations/validation.rb
codeclimate-0.72.0 lib/cc/analyzer/measurement_validations/validation.rb
codeclimate-0.71.2 lib/cc/analyzer/measurement_validations/validation.rb
codeclimate-0.71.1 lib/cc/analyzer/measurement_validations/validation.rb
codeclimate-0.71.0 lib/cc/analyzer/measurement_validations/validation.rb
codeclimate-0.70.6 lib/cc/analyzer/measurement_validations/validation.rb
codeclimate-0.70.5 lib/cc/analyzer/measurement_validations/validation.rb
codeclimate-0.70.4 lib/cc/analyzer/measurement_validations/validation.rb
codeclimate-0.70.3 lib/cc/analyzer/measurement_validations/validation.rb
codeclimate-0.70.2 lib/cc/analyzer/measurement_validations/validation.rb
codeclimate-0.70.1 lib/cc/analyzer/measurement_validations/validation.rb
codeclimate-0.70.0 lib/cc/analyzer/measurement_validations/validation.rb