Ruby 2.7 adds Enumerable filter_map
31-May-2019 2043
Originally suggested 7 years ago, it was addressing a common idiom to map over an Enumerable, but only include the elements that match a particular filter.
Ruby 2.7 adds Enumerable filter_map #ruby #rubydeveloper #rubyonrails #Enumerable #filter_map https://www.rubyonrails.ba/link/ruby-2-7-adds-enumerable-filter_map