# File lib/lowline.rb, line 141 def ask_yon q while true print "#{q} (y/n): " a = STDIN.gets.strip break a if a =~ /^[yn]$/i end =~ /y/i end