Categories: None [Edit]
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: 159,302 of 192,323
Downloads: 3,475
Daily
Ranking: 155,533 of 192,290
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 14 | 1,198,592,716 | minitest |
| 227 | 216,390,096 | yard |
| 7,901 | 533,084 | rubygems-tasks |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | DamienRobert |