You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: test0n3.rb
    path of file: ./repos/retos-programacion-2023/Retos/Reto #7 - EL SOMBRERO SELECCIONADOR [Media]/ruby
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

# class Survey for challenge Sorting Hat
class Questionnaire
  QUESTIONS = { '0' => '¿
    
  def start_questionnaire
    results = { 'gryffindor' => 0, 'slytherin' => 0, 'hufflepuff' => 0, 'ravenclaw' => 0 }
    puts 'El Sombrero Seleccionador'
    QUESTIONS.each_key do |id|
      display_question(id)
      display_options(id)
      results[catch_answer(id)] += 1
    end
    display_answer(results).capitalize
  end