lib/cli.rb
# Initiates action based on user input.
Initiates action based on user input.
Initiates action based on user input .
def case_letter
    input = gets.strip.downcase
    case input
    when 'o'
      puts "\n#{@question.origin}\n\n"
      ask_n_c_or_e
    when 'n'
      check_remaining
    when 'c'
      display_list
    when 'e'
      goodbye
    else
      ask_letter
    end
  end
def case_letter input = gets . strip . downcase case input when 'o' puts "\n#{@question.origin}\n\n" ask_n_c_or_e when 'n' check_remaining when 'c' display_list when 'e' goodbye else ask_letter end end
Initiates action based on user input.
Initiates action based on user input .