Pattern: Use of reverse.each
Issue: -
This rule is used to identify usages of reverse.each
and change them to use reverse_each
instead.
# bad
[].reverse.each
# good
[].reverse_each
Pattern: Use of reverse.each
Issue: -
This rule is used to identify usages of reverse.each
and change them to use reverse_each
instead.
# bad
[].reverse.each
# good
[].reverse_each