struct Term::Prompt::Statement
- Term::Prompt::Statement
- Struct
- Value
- Object
Overview
A class representing a statement output to prompt.
Defined in:
prompt/statement.crConstructors
-
.new(prompt : Prompt, newline : Bool = true, color = nil)
Initialize a Statement
Instance Method Summary
-
#call(message)
Output the message to the prompt
-
#color : Cor | Nil
Color used to display statement
-
#newline : Bool
Flag to display newline
Constructor Detail
Initialize a Statement