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: linux.rb
    path of file: ./repos/chef/lib/chef/provider/user
    
    the code of the file until where you have to start completion: #
# Copyright:: Copyright (c) Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in com
    
        def compare_user
          user_changed = super

          @change_desc ||= []

          %i{expire_date inactive}.each do |user_attrib|
            new_val = new_resource.send(user_attrib)
            cur_val = current_resource.send(user_attrib)
            if !new_val.nil? && new_val.to_s != cur_val.to_s
              @change_desc << "change #{user_attrib} from #{cur_val} to #{new_val}"
            end
          end