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: as_fixed_group_by_plate.rb
    path of file: ./repos/sequencescape/app/models/tag_layout
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

# Assigns multiple tags to each well sequentially.

    
  def walk_wells
    wells_in_walking_order.each_with_index do |well, well_index|
      tags_per_well.times do |tag_index|
        index = (well_index * tags_per_well) + tag_index
        yield(well, index) unless well.nil?
      end
    end
  end