class
Amber::Schema::Validator::Format
Defined in:
amber/schema/validators/format.crConstructors
- .new(field_name : String, format : FormatType, pattern : Nil = nil)
-
.new(field_name : String, format : FormatType, pattern : Regex)
Compiles only in an app that passes a
Regex, so other apps link no regex engine.
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 passes a Regex, so other apps link no regex engine.