rspec/rules/S1858/description.adoc

2 lines
227 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
Invoking a method designed to return a string representation of an object which is already a string is a waste of keystrokes. This redundant construction may be optimized by the compiler, but will be confusing in the meantime.