Categories: None [Edit]

tiny_singleton

https://rubygems.org/gems/tiny_singleton
https://github.com/DamienRobert/tiny_singleton
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.

Total

Ranking: 157,495 of 187,622
Downloads: 3,379

Daily

Ranking: 139,079 of 187,603
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
151,090,420,232minitest
224197,278,027yard
7,766503,312rubygems-tasks

Owners

#GravatarHandle
1iconDamienRobert