class Athena::Console::Helper::Question

Overview

Provides a method to ask the user for more information; such as to confirm an action, or to provide additional values.

See ACON::Question namespace for more information.

Direct Known Subclasses

Defined in:

helper/question.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from class Athena::Console::Helper

helper_set : ACON::Helper::HelperSet | Nil helper_set, helper_set=(helper_set : ACON::Helper::HelperSet | Nil) helper_set=

Class methods inherited from class Athena::Console::Helper

format_time(span : Time::Span) : String
format_time(seconds : Number) : String
format_time
, remove_decoration(formatter : ACON::Formatter::Interface, string : String) : String remove_decoration, width(string : String) : Int32 width

Instance methods inherited from module Athena::Console::Helper::Interface

helper_set : ACON::Helper::HelperSet | Nil helper_set, helper_set=(helper_set : ACON::Helper::HelperSet | Nil) helper_set=

Class Method Detail

def self.disable_stty : Nil #

[View source]

Instance Method Detail

def ask(input : ACON::Input::Interface, output : ACON::Output::Interface, question : ACON::Question::Base) #

[View source]