method

select!

ruby latest stable - Class: Hash
select!()
public

Equivalent to Hash#keep_if, but returns nil if no changes were made.