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: scrubbers.rb
    path of file: ./repos/stackneveroverflow/vendor/bundle/ruby/2.3.0/gems/rails-html-sanitizer-1.0.3/lib/rails/html
    
    the code of the file until where you have to start completion: module Rails
  module Html
    # === Rails::Html::PermitScrubber
    #
    # Rails::Html::PermitScrubber allows you to permit only your own tags and/or attri
    
      def scrub_attributes(node)
        if @attributes
          node.attribute_nodes.each do |attr|
            attr.remove if scrub_attribute?(attr.name)
            scrub_attribute(node, attr)
          end

          scrub_css_attribute(node)
        else
          Loofah::HTML5::Scrub.scrub_attributes(node)
        end