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: type.rb
    path of file: ./repos/souls/lib/souls/cli/generate
    
    the code of the file until where you have to start completion: module SOULs
  class Generate < Thor
    desc
    
    def create_type_head(class_name: "user")
      file_dir = "./app/graphql/types/"
      FileUtils.mkdir_p(file_dir) unless Dir.exist?(file_dir)
      file_path = "./app/graphql/types/#{class_name}_type.rb"
      File.open(file_path, "w") do |f|
        f.write(<<~TEXT)
          module Types
            class #{class_name.camelize}Type < SOULs::Types::BaseObject
              implements GraphQL::Types::Relay::Node

        TEXT
      end
    end