Class | Roodi::Checks::ForLoopCheck |
In: |
lib/roodi/checks/for_loop_check.rb
|
Parent: | Check |
Checks to make sure for loops are not being used..
Using a for loop is not idiomatic use of Ruby, and is usually a sign that someone with more experience in a different programming language is trying out Ruby. Use Enumerable.each with a block instead.