class
Amber::Schema::Validator::Pattern
Defined in:
amber/schema/validators/pattern.crConstructors
-
.new(field_name : String, pattern : Regex, message : String | Nil = nil)
Compiles only in an app that builds this validator from a
Regex.
Instance Method Summary
Instance methods inherited from class Amber::Schema::Validator::Base
validate(context : Context) : Nil
validate
Constructor Detail
Compiles only in an app that builds this validator from a Regex.