Adds the given object to the set and returns self. Use merge to add several elements at once.
# File set.rb, line 195 def add(o) @hash[o] = true self end
<code/>
<pre/>
<code/>and<pre/>for code samples.