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:
= Copier Copié!

installation:
=

Versions:

  1. 0.3.1 - September 09, 2020 (13,5 ko)
  2. 0.3.0 - May 01, 2020 (13,5 ko)
  3. 0.2.2 - July 05, 2017 (19,5 ko)
Voir toutes les versions (4)

Dépendances de Development (11):

Propriétaires:

Pushed by:

Auteurs:

  • Konstantin Gredeskoul

Total de contrôle SHA 256:

f3dd027d3891e98454646af751ed6d37e78cffa08be3b33af6633de0be76c9a0

Total de téléchargements 5 881

Pour cette version 1 863

License:

MIT

Version de Ruby requise: >= 0

Liens: