View on GitHub

Idregistry

A generic object generator and identity map for Ruby

Download this project as a .zip file Download this project as a tar.gz file

An IDRegistry is a hub for obtaining and managing domain objects in a Ruby application. It is a configurable general registry for identifying and constructing objects when needed, and it includes a built-in identity map which caches objects in memory and prevents duplicates.

A basic introduction is available here, and a full HowTo is available here.

To install:

gem install idregistry

For more information: