Method: Weak::Map#keys
- Defined in:
- lib/weak/map.rb
#keys ⇒ Array
Note:
In contrast to a Hash, Weak::Maps do not necessarily retain
insertion order.
Returns an Array containing all keys of the map for which we
have a valid value. Keys with garbage-collected values are excluded.
|
|
# File 'lib/weak/map.rb', line 255
|