class

Kemal::FormValidator::Length

Inherits Kemal::FormValidator::Validator / Reference / Object

Kemal::FormValidator::Length validates the length of a string.

Constructors

new(min : Int32 = -1, max : Int32 = -1, message = "")
Source

Instance methods

validate(field : Kemal::Form::Field)
Source