Class: TypeValidator
- Inherits:
-
BaseValidator
- Object
- ActiveModel::EachValidator
- BaseValidator
- TypeValidator
- Defined in:
- lib/lite/validators/type_validator.rb
Instance Method Summary collapse
Instance Method Details
#validate_each(record, attribute, value) ⇒ Object
8 9 10 11 |
# File 'lib/lite/validators/type_validator.rb', line 8 def validate_each(record, attribute, value) assert_valid_is_or_is_not! super end |