Class DataMapper::Validations::Validator
In: lib/data_mapper/validations/validator.rb
lib/data_mapper/validations/validator.rb
Parent: Object

Methods

Constants

Error = Struct.new(:expected, :got)
Error = Struct.new(:expected, :got)

Public Instance methods

[Source]

   # File lib/data_mapper/validations/validator.rb, line 6
6:       def errors_for(target)
7:         raise NotImplementedError.new
8:       end

[Source]

   # File lib/data_mapper/validations/validator.rb, line 6
6:       def errors_for(target)
7:         raise NotImplementedError.new
8:       end

[Validate]