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: multiple_response.rb
    path of file: ./repos/algoliasearch-client-ruby/lib/algolia/responses
    
    the code of the file until where you have to start completion: module Algolia
  class MultipleResponse < BaseResponse
    include Enumerable

    # @param responses [
    
    def wait(opts = {})
      @raw_responses.each do |response|
        response.wait(opts)
      end

      @raw_responses = []

      self
    end