Class: Dragnet::Validators::Fields::FieldValidator
- Inherits:
-
Object
- Object
- Dragnet::Validators::Fields::FieldValidator
- Defined in:
- lib/dragnet/validators/fields/field_validator.rb
Overview
Base class for all the validators used to validate individual fields inside entities.
Direct Known Subclasses
DescriptionValidator, FilesValidator, IDValidator, MetaDataFieldValidator, PathValidator, ReposValidator, ResultValidator, SHA1Validator
Instance Method Summary collapse
Instance Method Details
#validate(_key, _value) ⇒ Object
11 12 13 |
# File 'lib/dragnet/validators/fields/field_validator.rb', line 11 def validate(_key, _value) raise NotImplementedError, "#validate method not implemented in #{self.class}" end |