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

Versiones:

  1. 0.0.4 - January 26, 2011 (10 KB)
  2. 0.0.3 - April 01, 2010 (7 KB)
  3. 0.0.1 - April 01, 2010 (7 KB)

dependencias de Development (2):

  • hoe >= 2.8.0
  • rspec >= 2.0
  • Propietarios:

    Autores:

    • Claudio Bustos

    SHA 256 checksum:

    255dd887af3a2a56df3d6163cce3835079474102d2163039c5de47450466eb20

    Total de descargas 559.246

    Para esta versión 550.654

    Gemfile:
    = Copiar al portapapeles ¡Copiado!

    instalar:
    =

    Licencias:

    N/A

    Versión de Ruby requerida: Ninguno

    Enlace: