class Athena::Console::Completion::Suggestions
- Athena::Console::Completion::Suggestions
- Reference
- Object
Overview
Stores all the suggested values/options for the current ACON::Completion::Input
.
Defined in:
completion/suggestions.crInstance Method Summary
-
#suggest_option(option : ACON::Input::Option) : self
Adds the provided option to
#suggested_options
. -
#suggest_options(options : Enumerable(ACON::Input::Option)) : self
Adds each of the provided options to
#suggested_options
. -
#suggest_value(value : String, description : String = "") : self
Adds the provided value, and optional description to
#suggested_values
. -
#suggest_value(value : ACON::Completion::Suggestions::SuggestedValue) : self
Adds the provided value to
#suggested_values
. -
#suggest_values(values : Enumerable(String)) : self
Adds each of the provided values to
#suggested_values
. -
#suggest_values(*values : String) : self
Adds each of the provided values to
#suggested_values
. -
#suggested_options : Array(Athena::Console::Input::Option)
Returns an array of the suggested
ACON::Input::Option
s. -
#suggested_values : Array(Athena::Console::Completion::Suggestions::SuggestedValue)
Returns an array of the
ACON::Completion::Suggestions::SuggestedValue
s.
Instance Method Detail
Adds the provided option to #suggested_options
.
Adds each of the provided options to #suggested_options
.
Adds the provided value, and optional description to #suggested_values
.
Adds the provided value to #suggested_values
.
Adds each of the provided values to #suggested_values
.
Adds each of the provided values to #suggested_values
.
Returns an array of the suggested ACON::Input::Option
s.
Returns an array of the ACON::Completion::Suggestions::SuggestedValue
s.