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

module RuboCop
  module Cop
    module Style
      # Bans the usage of “•” (bullet) in HTML/HAML in favor of “·” (middle dot) in string literals
      class MiddleDot < Base
        extend AutoCorrector
        extend Util

        # rubocop:disable Style/MiddleDot
        BULLET
    
        def on_str(node)
          # Constants like __FILE__ are handled as strings,
          # but don't respond to begin.
          return unless node.loc.respond_to?(:begin) && node.loc.begin

          return unless node.value.include?(BULLET)

          add_offense(node, message: MESSAGE) do |corrector|
            corrector.replace(node, node.source.gsub(BULLET, MIDDLE_DOT))
          end
        end
      end