Class methods not detected as methods when checking indentation
Closed this issue · 1 comments
turboladen commented
The following should get flagged for bad indentation on the self.my_method
line but does not:
class A
self.my_method
puts 'stuff'
end
end
turboladen commented
Dumb. This isn't valid Ruby! Changing the test that found this to:
class A
def self.my_method
puts 'stuff'
end
end