method

choose_from_list

ruby latest stable - Class: Gem::UserInteraction
choose_from_list(question, list)
public

Asks the user to answer question with an answer from the given list.