Memoize attributes in a thread-safe way. This ruby gem adds a `#attr_memoized` class method, that provides a lazy-loading mechanism for initializing "heavy" attributes, but in a thread-safe way. Instances thus created can be shared among threads.

Required Ruby Version

>= 0

Authors

Konstantin Gredeskoul

Versions

  1. 0.3.1
    1. source

      1. 0.3.1 source September 09, 2020 (13.5 KB)
  2. 0.3.0
    1. source

      1. 0.3.0 source May 01, 2020 (13.5 KB)
  3. 0.2.2
    1. source

      1. 0.2.2 source July 05, 2017 (19.5 KB)
Show all versions (4 total)

Pushed by

SHA 256 checksum