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

2 lines
235 B
Plaintext

For maximum reusability, methods should accept parameters with as little specialization as possible. So unless specific features from a child class are required by a method, a type higher up the class hierarchy should be used instead.