Skip to content

module Athena::Validator #

Provides a robust object/value validation framework.

Constants#

VERSION = "0.3.4"#

Class methods#

.validator : AVD::Validator::ValidatorInterface#

Returns a new AVD::Validator::ValidatorInterface.

validator = AVD.validator

validator.validate "foo", AVD::Constraints::NotBlank.new
View source