RubyTapas Episode 13: Singleton Objects

3 comments

    1. The Singleton module is about finding a way to force a class to only permit a single instance. The whole point of this episode is to say, why start with a class and then try to lock it down to once instance? Why not just start with an instance?

      The Singleton Pattern (and Ruby library) is kind of orthogonal, I talk about it more in another episode.

Leave a Reply

Your email address will not be published. Required fields are marked *