= private = protected
&(enum)
Returns a new set containing elements common to the set and the given enumerable object.
# File lib/set.rb, line 405 def &(enum) n = self.class.new do_with_enum(enum) { |o| n.add(o) if include?(o) } n end