instance method
Gem::UserInteraction#choose_from_list
choose_from_list(question, list)
lib/rubygems/user_interaction.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/user_interaction.rb, line 141
def choose_from_list(question, list)
ui.choose_from_list question, list
end
Asks the user to answer question with an answer from the given list.
See also
#ask_yes_no
#say
#ask_for_password
#terminate_interaction
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0