RubyGems Navigation menu

attr_memoized 0.2.2

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:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  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)
Zeige alle Versionen (4 total)

Development Abhängigkeiten (8):

bundler ~> 1
colored2 >= 0
irbtools >= 0
rake ~> 12
rspec ~> 3
rspec-its >= 0
simplecov >= 0

Besitzer:

Autoren:

  • Konstantin Gredeskoul

SHA 256-Prüfsumme:

1d8361ef65acc41ea9d440c33278c9a455ca93cbde3afc6ec2a82449827713f5

Downloads insgesamt 5.936

Für diese Version 2.290

Lizenz:

MIT

Erforderliche Ruby-Version: >= 0

Links: