rspec/rules/S2108/description.adoc

3 lines
206 B
Plaintext
Raw Normal View History

2020-06-30 12:48:07 +02:00
Fields that are never updated will always return their default values and so they should be explicitly marked constant.
This rule applies to non-constant class fields which are not set within the codebase.