lib/core/facets/hash/select.rb in facets-2.4.5 vs lib/core/facets/hash/select.rb in facets-2.5.0

- old
+ new

@@ -1,11 +1,10 @@ class Hash # In-place version of Hash#select. The opposite of the built-in # Hash#reject!. # - # CREDIT Gavin Sinclair - # CREDIT Noah Gibbs + # CREDIT: Gavin Sinclair, Noah Gibbs def select! reject! { |k,v| not yield(k,v) } end