Method: Weak::Map#prune
- Defined in:
- lib/weak/map.rb
#prune ⇒ self
Cleanup data structures from the map to remove data associated with deleted or garbage collected keys and/or values. This method may be called automatically for some Weak::Map operations.
|
|
# File 'lib/weak/map.rb', line 258
|