Ruby 2.7 has added Enumerable#filter_map as a shorthand for filter ... first filtering desired results, and then maps to get expected Array.
確定! 回上一頁