= private = protected
collect!()
Do collect() destructively.
# File lib/set.rb, line 236 def collect! set = self.class.new each { |o| set << yield(o) } replace(set) end