Method: Weak::Set::StrongKeys#prune

Defined in:
lib/weak/set/strong_keys.rb

#pruneself

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)


93
94
95
# File 'lib/weak/set/strong_keys.rb', line 93

def prune
  self
end