RubyGems Navigation menu

dirty-memoize 0.0.4

Like Memoize, but designed for mutable and parametizable objects Use when: 1. You have one expensive method (\compute) which set many internal variables. So, is preferable lazy evaluation of these dependent variables. 2. The expensive operation depends on one or more parameters 3. Changes on one or more parameters affect all dependent variables 4. You may want to hide the call of 'compute' operation 5. The user could want test several different parameters values

Gemfile:
=

安装:
=

版本列表:

  1. 0.0.4 January 26, 2011 (10.0 KB)
  2. 0.0.3 April 01, 2010 (7.0 KB)
  3. 0.0.1 April 01, 2010 (7.0 KB)

Development 依赖 (2):

hoe >= 2.8.0
rspec >= 2.0

业主:

作者:

  • Claudio Bustos

SHA 256 校验和:

=

下载总量 631,066

这个版本 621,424

版本发布:

许可:

需要的 Ruby 版本:

链接: