Is it possible to write a custom cop that would call out class definitions like this:
MyError = Class.new(StandardError) And advise the author to format it like this?
class MyError < StandardError; end Is it possible to write a custom cop that would call out class definitions like this:
MyError = Class.new(StandardError) And advise the author to format it like this?
class MyError < StandardError; end