class CryPrompt::CryPrompt
- CryPrompt::CryPrompt
- Reference
- Object
Defined in:
cryprompt.crConstructors
Instance Method Summary
-
#ask : String | Nil
This will prompt the user for an input returns a string or nil if nothing is given
- #autocomplete : AutoComplete
- #autocomplete=(autocomplete : AutoComplete)
-
#autoprompt : Bool
property completion : ( JSON::Any | YAML::Any | Nil) = nil
-
#autoprompt=(autoprompt : Bool)
property completion : ( JSON::Any | YAML::Any | Nil) = nil
- #downarrowpress
- #history : History
- #history=(history : History)
- #leftarrowpress
- #logging : String | Nil
- #logging=(logging : String | Nil)
- #prompt : String
- #prompt=(prompt : String)
- #prompt_size : Int32
- #prompt_size=(prompt_size : Int32)
- #rightarrowpress
- #set_prompt(ap : Array(Colorize::Object | String))
- #tabcomplete(tabcount, suggs)
- #tabcomplete
- #uparrowpress
Constructor Detail
Instance Method Detail
def ask : String | Nil
#
This will prompt the user for an input returns a string or nil if nothing is given