struct Athena::Validator::Constraints::Range::Validator
- Athena::Validator::Constraints::Range::Validator
- Athena::Validator::ConstraintValidator
- Struct
- Value
- Object
Defined in:
constraints/range.crInstance Method Summary
-
#validate(value : Number | Time | Nil, constraint : AVD::Constraints::Range) : Nil
:inherit:
- #validate(value : _, constraint : AVD::Constraints::Range) : Nil
Instance methods inherited from struct Athena::Validator::ConstraintValidator
context : AVD::ExecutionContextInterface
context,
initialize
initialize,
raise_invalid_type(value : _, supported_types : String) : NoReturn
raise_invalid_type,
validate(value : _, constraint : AVD::Constraint) : Nil
validate
Constructor methods inherited from struct Athena::Validator::ConstraintValidator
new
new
Instance methods inherited from module Athena::Validator::ConstraintValidatorInterface
context : AVD::ExecutionContextInterface
context,
validate(value : _, constraint : AVD::Constraint) : Nil
validate
Instance Method Detail
def validate(value : Number | Time | Nil, constraint : AVD::Constraints::Range) : Nil
#
:inherit:
ameba:disable Metrics/CyclomaticComplexity