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: transform.rb
    path of file: ./repos/zammad/app/graphql/gql/mutations/knowledge_base/answer/suggestion/content
    
    the code of the file until where you have to start completion: # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/

module Gql::Mutations
  class KnowledgeBase::Answer::Suggestion::Content::Transform < BaseMutation
    
    def inline_image_scrubber(attachments)
      Loofah::Scrubber.new do |node|
        next if !contains_inline_images?(node)

        lookup_cids = inline_images_cids(node)

        attachment = attachments.find { |file| lookup_cids.include?(file.preferences&.dig('Content-ID')) }
        next if !attachment

        node['cid'] = nil
        node['src'] = base64_data_url(attachment)
      end
    end