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.
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.
To install rb-multiton, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install rb-multiton
To see what files were installed by rb-multiton, run:
port contents rb-multiton
To later upgrade rb-multiton, run:
sudo port selfupdate && sudo port upgrade rb-multiton
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.