class Term::Prompt

Defined in:

deepl/prompt.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(input : IO = STDIN, output : IO = STDERR) #

[View source]

Instance Method Detail

def select(label : String, items : Array(String)) : String | Nil #

[View source]
def select(label : String, items : Array(T)) : String | Nil forall T #

Overload for arrays of any type convertible to String


[View source]