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: batched_background_migrations_dictionary.rb
    path of file: ./repos/gitlabhq/rubocop
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module RuboCop
  class BatchedBackgroundMigrationsDictionary
    DICTIONARY_BASE_DIR = 'db/docs/batched_background_migrations'

    attr_reader :queued_migration_version

    class << self
      def dictionary_data
        @dictionary_data ||= Dir.glob("*.yml", base: DICTIONARY_BASE_DIR).each_with_object({}) do |file_name, data|
          dictionary = YAML.load_file(File.join(DICTIONARY_BA
    
      def dictionary_data
        @dictionary_data ||= Dir.glob("*.yml", base: DICTIONARY_BASE_DIR).each_with_object({}) do |file_name, data|
          dictionary = YAML.load_file(File.join(DICTIONARY_BASE_DIR, file_name))

          next unless dictionary['queued_migration_version'].present?

          data[dictionary['queued_migration_version'].to_s] = {
            introduced_by_url: dictionary['introduced_by_url'],
            finalize_after: dictionary['finalize_after'],
            finalized_by: dictionary['finalized_by'].to_s,
            milestone: dictionary['milestone']
          }
        end
      end