Last Modified
2015-06-10 17:34:21 -0700
Requires

Description

The Singleton module implements the Singleton pattern.

Usage:

class Klass
   include Singleton
   # ...
end

This is achieved by marking

Providing (or modifying) the class methods

The instance method of Singleton are

blog comments powered by Disqus