ruby

Ruby Singleton Pattern

The singleton pattern is probably one of the most used patterns in the development process. Here I will show you how to do it in Ruby. It's so easy! Ruby Standard Library has