Sha256: 69511e9c9c1374a13c7eb08c77c85e6ca9087f73b8e1bac9dc98df73c0f64c53

Contents?: true

Size: 201 Bytes

Versions: 3

Compression:

Stored size: 201 Bytes

Contents

module DataMapper 
  module Validations 
    class Validator
      Error = Struct.new(:expected, :got)

      def errors_for(target)
        raise NotImplementedError.new
      end
    end
  end
end


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
datamapper-0.3.0 lib/data_mapper/validations/validator.rb
datamapper-0.3.1 lib/data_mapper/validations/validator.rb
datamapper-0.3.2 lib/data_mapper/validations/validator.rb