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: index_specification.rb
    path of file: ./repos/ruby-packer/ruby/lib/rubygems/resolver
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
##
# Represents a possible Specification object returned from IndexSet.  Used to
# delay 
    
  def pretty_print(q) # :nodoc:
    q.group 2, '[Index specification', ']' do
      q.breakable
      q.text full_name

      unless Gem::Platform::RUBY == @platform
        q.breakable
        q.text @platform.to_s
      end

      q.breakable
      q.text 'source '
      q.pp @source
    end