class Jennifer::Validations::Numericality
Overview
Numericality validation class.
For more details see Macros.validates_numericality
.
Defined in:
jennifer/validations/numericality.crClass Method Summary
-
.instance
Numericality validation class.
Instance Method Summary
-
#validate(record, **opts)
Validates given record based on args and opts.
Instance methods inherited from class Jennifer::Validations::Validator
blank_validation(record, field, value, allow_blank)
blank_validation,
validate(record, **opts)
validate
Class Method Detail
def self.instance
#
Numericality validation class.
For more details see Macros.validates_numericality
.
Instance Method Detail
def validate(record, **opts)
#
Description copied from class Jennifer::Validations::Validator
Validates given record based on args and opts.