rspec/rules/S3241/rule.adoc
2020-06-30 17:16:12 +02:00

4 lines
282 B
Plaintext

Private methods are clearly intended for use only within their own scope. When such methods return values that are never used by any of their callers, then clearly there is no need to actually make the return, and it should be removed in the interests of efficiency and clarity.