rb-multiton

v 1.0.2

The Multiton Design Pattern

The multiton pattern is similar to a singleton, but instead of only one instance, there are several similar instances. it's usefull when you want to avoid constructing objects many times because of some huge expence (connecting to a database for example), require a set of similar but not identical objects, and cannot easily control how many time a contructor may be called.

http://www.codeforpeople.com/lib/ruby/multiton/

To install rb-multiton, paste this in macOS terminal after installing MacPorts

sudo port install rb-multiton

Add to my watchlist

Installations 0
Requested Installations 0