Method: Weak::Set#prune

Defined in:
lib/weak/set.rb

#pruneself Also known as: reset

Cleanup data structures from the set to remove data associated with deleted or garbage collected elements. This method may be called automatically for some Weak::Set operations.

Returns:

  • (self)
[View source]

# File 'lib/weak/set.rb', line 196