Method: Weak::Set#to_a
- Defined in:
- lib/weak/set.rb
#to_a ⇒ Array
Note:
The order of elements on the returned ‘Array` is non-deterministic. We do not preserve preserve insertion order.
Returns the live elements contained in ‘self` as an `Array`.
|
# File 'lib/weak/set.rb', line 205
|