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

module RuboCop
  module Cop
    module InternalAffairs
      # Checks potentially usage of method identifier predicates
      # defined in rubocop-ast instead of `method_name.end_with?`.
      #
  
    
        def on_send(node)
          method_name_end_with?(node) do |method_name_node, end_with_arg|
            next unless method_name_node.receiver

            preferred_method = SUGGEST_METHOD_FOR_SUFFIX[end_with_arg.value]
            range = range(method_name_node, node)
            message = format(MSG, method_name: preferred_method, method_suffix: range.source)

            add_offense(range, message: message) do |corrector|
              corrector.replace(range, preferred_method)
            end
          end
        end