RubyGems Navigation menu

attr_memoized 0.3.1

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:
=

instalar:
=

Versões:

  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)
Mostrar todas as versões (4)

Development Dependencies (11):

Donos:

Pushed by:

Autores:

  • Konstantin Gredeskoul

SHA 256 checksum:

=

Total de downloads 6.246

Desta versão 2.010

Versão lançada:

Licença:

MIT

Versão Requerida do Ruby: >= 0

Links: