# File lib/interact/interactive.rb, line 171 def ask(question, options = {}) choices = options[:choices] && options[:choices].to_a list_choices(choices, options) if choices while true prompt(question, options) ok, res = answered(read_line(options), options) return res if ok end end