Adds the given object to the set and returns self. If the object is already in the set, returns nil.
# File set.rb, line 203 def add?(o) if include?(o) nil else add(o) end end
<code/>
<pre/>
<code/>and<pre/>for code samples.