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