All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
Using def self.method_name or class << self to define class methods is recommended.
def self.method_name
class << self
# bad class SomeClass def self.class_method # ... end end
# good class SomeClass class << self def class_method # ... end end end