Returns a new set built by merging the set and the elements of the given enumerable object.
# File set.rb, line 274 def |(enum) enum.is_a?(Enumerable) or raise ArgumentError, "value must be enumerable" dup.merge(enum) end
<code/>
<pre/>
<code/>and<pre/>for code samples.