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

module RBS
  class Location
    def inspect
      rks = each_required_key.to_a
    
    def self.new(buffer_ = nil, start_pos_ = nil, end_pos_ = nil, buffer: nil, start_pos: nil, end_pos: nil)
      __skip__ =
        begin
          if buffer && start_pos && end_pos
            super(buffer, start_pos, end_pos)
          else
            super(buffer_, start_pos_, end_pos_)
          end