RubyGems Navigation menu

tiny_singleton 0.1.0

Tiny Singleton is a very simple implementation of the Singleton Design Pattern. Compared to the Singleton module in the stdlib, one does not need to class 'klass.instance' to get access to the singleton object, one can call 'klass.new' as usual. It is thus easier to add the Singleton Pattern to an existing class without changing the way the code calls it.

Gemfile:
=

installation:
=

Versions:

  1. 0.1.0 February 23, 2015 (7,5 ko)

Dépendances de Development (3):

minitest ~> 5.0
yard ~> 0.8

Propriétaires:

Auteurs:

  • Damien Robert

Total de contrôle SHA 256:

=

Total de téléchargements 3 188

Pour cette version 3 188

Version publiée:

License:

MIT

Version de Ruby requise: >= 0

Liens: