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: loadable_files.rb
    path of file: ./repos/teaspoon/spec/support
    
    the code of the file until where you have to start completion: module LoadableFiles
  FileDetails = Struct.new(:driver_file, :load_path)

  def create_loadable_file(filename, contents)
    driver_file_path = File.expand_path(filename, Di
    
  def create_loadable_file(filename, contents)
    driver_file_path = File.expand_path(filename, Dir.mktmpdir())
    driver_file = File.open(driver_file_path, "w") do |file|
      file.write(contents)
      file
    end

    @load_path = File.dirname(driver_file.path)
    $:.unshift @load_path

    FileDetails.new(driver_file, @load_path)
  end