ProtectedConstructor

Provides a module that may be included in a Ruby class, that protects the constructor; good for enforcing instantiation of classes using, for instance, a class factory. The code itself is not mine, I just wrapped it in a gem and provided the examples; sorry, I don't remember the origin of the code to give credit. :S

MIT License

Downloads
22.8K
Stars
1
Committers
2

Commit Statistics

Past Year

All Time

Total Commits
30
Total Committers
2
Avg. Commits Per Committer
15.0
Bot Commits
0

Issue Statistics

Past Year

All Time

Total Pull Requests
32
39
Merged Pull Requests
1
2
Total Issues
0
0
Time to Close Issues
N/A
N/A
Package Rankings
Top 23.32% on Rubygems.org
Badges
Extracted from project README
Ruby GitHub version Gem Version Documentation Report Issues License