Quantcast
Channel: Brown Fort
Viewing all articles
Browse latest Browse all 10

Singleton Design pattern in Ruby

$
0
0

Singleton Design pattern make sure that you can create only one object of a class. This kind of design pattern is useful where you want different clients to share the same object, Logger is a good example of singleton design pattern, you don’t want every class and script in your project to use its own […]

The post Singleton Design pattern in Ruby appeared first on Brown Fort.


Viewing all articles
Browse latest Browse all 10

Trending Articles