Singleton classes, on the other hand, only serve a single object.
- 2. Classes, Objects, and Modules
- from Effective Ruby: 48 Specific Ways to Write Better Ruby
- Publisher: Addison-Wesley Professional
- Released: September 2014
even when the singleton class is created by include a module in a class definition?
Share this highlighthttp://www.safaribooksonline.com/a/effective-ruby-48/13518934/