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

1 line
250 B
Plaintext

When the value of a private field is always assigned to in a class' methods before being read, then it is not being used to store class information. Therefore, it should become a local variable in the relevant methods to prevent any misunderstanding.