Actions
Feature #17153
closedAdd Enumerable#compact_map
Feature #17153:
Add Enumerable#compact_map
Status:
Closed
Assignee:
-
Target version:
-
Description
I often write code like this (map, then compact):
Or like this:
I think it would be very useful and simpler if we could do it by calling one method:
How about introducing Enumerable#compact_map ?
Actions