class Term::Prompt::MaskQuestion
- Term::Prompt::MaskQuestion
- Term::Prompt::Question
- Reference
- Object
Defined in:
prompt/mask_question.crConstructors
Instance Method Summary
-
#call(message = "", &block : MaskQuestion -> )
Call the question.
- #keyenter
- #keypress(key, event)
- #keyreturn
- #mask : String
- #mask=(mask : String)
- #read_input(question)
- #render_error(errors)
-
#render_question
Render question
Instance methods inherited from class Term::Prompt::Question
call(message : Nil | String = "", &block : self -> )call(message = "") call, convert_result(value) convert_result, default : String? default, default? default?, echo : Bool echo, echo=(echo : Bool) echo=, echo? : Bool echo?, errors : Array(String) errors, inspect inspect, palette : Palette palette, palette=(palette : Palette) palette=, prefix : String prefix, prefix=(prefix : String) prefix=, process_input(question) process_input, question : String | Nil question, read_input(question) read_input, refresh(lines, lines_to_clear) refresh, render render, render_error(errors) render_error, render_warning(warnings) render_warning, to_s(io) to_s, validators : Array(Validator | ValidatorProc) validators, value : String | Nil value, warnings : Array(String) warnings