Class | Simp::Cli::Config::YesNoItem |
In: |
lib/simp/cli/config/items/yes_no_item.rb
|
Parent: | Item |
A Item that asks for lists instead of Strings
note that @value is a String
NOTE: Highline should transform the input to a boolean but doesn‘t. Why? REJECTED: Override query_ask using Highline‘s agree? *** no, can‘t bool
NOTE: when used from query_ask, the highline_question_type lamba doesn‘t always cast internal type of @value to a boolean. As a workaround, we cast it here before it is committed to the super‘s YAML output.