ObjectSpace::WeakMap

class ObjectSpace::WeakMap

Parent:
Object
Included modules:
Enumerable

An ObjectSpace::WeakMap object holds references to any objects, but those objects can get garbage collected.

This class is mostly used internally by WeakRef, please use lib/weakref.rb for the public interface.

Public Instance Methods