-
Notifications
You must be signed in to change notification settings - Fork 0
CAT 034
unurgunite edited this page Jul 11, 2026
·
3 revisions
Severity:
info| Confidence:high| Auto-fix: ❌
each_with_index.map → map_with_index — Use map_with_index instead of each_with_index + map for cleaner and more efficient code.
ary.each_with_index.map { |x, i| ... }Note
See bench results at bench/cat-034/