= private = protected
to_a()
Converts the set to an array. The order of elements is uncertain.
Set[1, 2].to_a #=> [1, 2] Set[1, 'c', :s].to_a #=> [1, "c", :s]
# File lib/set.rb, line 202 def to_a @hash.keys end