config/contents/style/each_for_simple_loop.md
This cop checks for loops which iterate a constant number of times,
using a Range literal and `#each`. This can be done more readably using
`Integer#times`.
This check only applies if the block takes no parameters.
### Example:
# bad
(1..5).each { }
# good
5.times { }
### Example:
# bad
(0...10).each {}
# good
10.times {}