= private = protected
reject!(&block)
Equivalent to Set#delete_if, but returns nil if no changes were made.
# File lib/set.rb, line 353 def reject!(&block) block or return enum_for(__method__) n = size delete_if(&block) size == n ? nil : self end