Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Term::Prompt::Question::Validators::LengthValidator
Inherits
Term::Prompt::Validator
/
Reference
/
Object
Constructors
new
(min :
Int32
|
Nil
, max :
Int32
|
Nil
)
Source
Instance methods
call
(question :
Question
, value :
String
|
Nil
) :
Bool
Source
max
Source
max=
(max :
Int32
|
Nil
)
Source
min
Source
min=
(min :
Int32
|
Nil
)
Source