demarches-normaliennes/spec/controllers/experts
François Vantomme c9b1095d1e Refactor (Rubocop): replace map{ … }.compact by filter_map
In Ruby 2.7, Enumerable#filter_map has been added.
This cop identifies places where map { … }.compact can be replaced by filter_map.

See: https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancemapcompact
2021-06-11 15:38:09 +02:00
..
avis_controller_spec.rb Refactor (Rubocop): replace map{ … }.compact by filter_map 2021-06-11 15:38:09 +02:00