class Spark::Prompt::ConfirmationQuestion

Defined in:

spark/prompt/confirmation_question.cr

Constructors

Instance methods inherited from class Spark::Prompt::Question(Bool, Bool)

call(message : String) : AnswerType?
call(message : String, &)
call
, color color, default default, style style, validate(validation : Regex, error_message : String? = nil, *, retry_on_failure : Bool = false) validate

Constructor methods inherited from class Spark::Prompt::Question(Bool, Bool)

new(prompt : Spark::Prompt, color : Symbol? = nil, style : Symbol? = nil, default : DefaultAnswerType? = nil, **options) new

Constructor Detail

def self.new(prompt : Spark::Prompt, color : Symbol? = nil, style : Symbol? = nil, default : DefaultAnswerType? = nil, **options) #

Creates a new Question.


[View source]