Add examples for `Lint/DeprecatedClassMethods`
Add examples for `Lint/DeprecatedClassMethods`

Follow https://github.com/rubocop/rubocop/pull/9732.

maxjacobson/rubocop,rrosenblum/rubocop,maxjacobson/rubocop,rrosenblum/rubocop,tejasbubane/rubocop,tejasbubane/rubocop,bbatsov/rubocop,tejasbubane/rubocop,maxjacobson/rubocop,rrosenblum/rubocop,bbatsov/rubocop