rspec/rules/S3518/introduction.adoc

5 lines
218 B
Plaintext
Raw Permalink Normal View History

This error will crash your program in most cases.
To fix it, you need to ensure that the denominator value in all division
operations is always non-zero, or check the value against zero before performing
the division.