Created
July 25, 2017 04:08
-
-
Save Sihui/617ec0e2bc407a94b1075b376a96e8de to your computer and use it in GitHub Desktop.
Design Pattern: Singleton and YOU
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class You | |
private_class_method :new | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment