require 'set'primes = Set[2, 3, 5, 7] # set of prime numbersprimes.reject! {|x| x%2==1} # => nil: unchanged