= private = protected
clear()
Removes all elements and returns self.
set = Set[1, 'c', :s] #=> #<Set: {1, "c", :s}> set.clear #=> #<Set: {}> set #=> #<Set: {}>
# File lib/set.rb, line 176 def clear @hash.clear self end