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: util.rb
    path of file: ./repos/artichoke/artichoke-backend/src/extn/stdlib/vendor/gen/cgi
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
class CGI
  module Util
    
  def unescapeHTML(string)
    enc = string.encoding
    unless enc.ascii_compatible?
      if enc.dummy?
        origenc = enc
        enc = Encoding::Converter.asciicompat_encoding(enc)
        string = enc ? string.encode(enc) : string.b
      end