RubyGems Navigation menu

attr_memoized 0.3.0

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.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.3.1 - September 09, 2020 (13.5 KB)
  2. 0.3.0 - May 01, 2020 (13.5 KB)
  3. 0.2.2 - July 05, 2017 (19.5 KB)
显示所有版本 (共 4 个)

Development 依赖 (10):

业主:

推送:

作者:

  • Konstantin Gredeskoul

SHA 256 校验和:

c44686e84c5ed8c91791dcb6589408b347d79c3502ad5fdaceb5bafebdbac143

下载总量 5,902

这个版本 1,733

许可:

MIT

需要的 Ruby 版本: >= 0

链接: