Before

class UsersController < ApplicationController
  private
end

Run rubocop

bundle exec rubocop -a --safe

Checking the difference with git status

   private
-end
+nd

I do not think that this is desired.