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: triple_quotes.rb
    path of file: ./repos/rubocop/lib/rubocop/cop/lint
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module RuboCop
  module Cop
    module Lint
      # Checks for "
    
        def on_dstr(node)
          return if (empty_str_nodes = empty_str_nodes(node)).none?

          opening_quotes = node.source.scan(/(?<=\A)['"]*/)[0]
          return if opening_quotes.size < 3

          # If the node is composed of only empty `str` nodes, keep one
          empty_str_nodes.shift if empty_str_nodes.size == node.child_nodes.size

          add_offense(node) do |corrector|
            empty_str_nodes.each do |str|
              corrector.remove(str)
            end
          end
        end