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

modu
    
        def check_line(node, code)
          line_node = node.last_argument
          line_diff = line_difference(line_node, code)
          if line_diff.zero?
            add_offense_for_same_line(node, line_node)
          else
            add_offense_for_different_line(node, line_node, line_diff)
          end