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: 156,676 of 186,911
Downloads: 3,301
Daily
Ranking: 153,862 of 186,896
Downloads: 1
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 |
---|---|---|
16 | 1,057,238,977 | minitest |
223 | 192,103,370 | yard |
7,719 | 494,430 | rubygems-tasks |
Owners
# | Gravatar | Handle |
---|---|---|
1 | DamienRobert |