class

Term::Prompt

Inherits Reference < Object

Constructors

new(input : IO = STDIN, output : IO = STDERR)
Source

Instance methods

select(label : String, items : Array(String)) : String | Nil
Source
select(label : String, items : Array(T)) : String | Nil forall T

Overload for arrays of any type convertible to String

Source