Closed the-spectator closed 4 years ago
Code Climate has analyzed commit 2951462a and detected 0 issues on this pull request.
The test coverage on the diff in this pull request is 100.0% (95% is the threshold).
This pull request will bring the total coverage in the repository to 100.0% (0.0% change).
View more on Code Climate.
Good catch. Thank you!
We can avoid extra iterations by using
Enumerable#flat_map
Before:
After: