Deletes the given object from the set and returns self. If the object is not in the set, returns nil.
Source Code
# File set.rb, line 220 def delete?(o) if include?(o) delete(o) else nil end end
Deletes the given object from the set and returns self. If the object is not in the set, returns nil.
# File set.rb, line 220 def delete?(o) if include?(o) delete(o) else nil end end
<code/>and<pre/>for code samples.