rspec/rules/S1118/description.adoc

4 lines
260 B
Plaintext
Raw Normal View History

2023-10-18 10:16:10 +02:00
Whenever there are portions of code that are duplicated and do not depend on the state of their
container class, they can be centralized inside a "utility class".
A utility class is a class that only has static members, hence it should not be instantiated.