Improve handling of comments in ClassMethodsDefinition autocorrection
Improve handling of comments in ClassMethodsDefinition autocorrection

Previously it would take nodes that have inline comment as well,
as long as a blank line to separate the node from the one that would be extracted is missing.

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