The Weak library provides a Weak::Set class to store an unordered list of objects and a Weak::Map class to store a key-value map. The collection classes only hold weak references to all elements so they can be garbage-collected when there are no more references left.

Required Ruby Version

>= 3.0.0

Authors

Holger Just

Versions

  1. 0.4.0 June 23, 2026 (33 KB)
  2. 0.3.1 January 16, 2026 (32.5 KB)
  3. 0.3.0 January 16, 2026 (32.5 KB)
  4. 0.2.1 December 27, 2025 (30.5 KB)
  5. 0.2.0 April 09, 2025 (30 KB)
  6. 0.1.0 March 14, 2025 (29 KB)
Show all versions (6 total)

Pushed by

SHA 256 checksum