CSC/ECE 517 Fall 2011/ch4 4h sv
Design Patterns in Ruby
Singleton Pattern
The Singleton design pattern is used to restrict the instantiation of a class to only one instance which is globally available.
The Singleton design pattern is used to restrict the instantiation of a class to only one instance which is globally available.