RubyGems Navigation menu

tiny_singleton 0.1.0

Tiny Singleton is a very simple implementation of the Singleton Design Pattern. Compared to the Singleton module in the stdlib, one does not need to class 'klass.instance' to get access to the singleton object, one can call 'klass.new' as usual. It is thus easier to add the Singleton Pattern to an existing class without changing the way the code calls it.

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 0.1.0 - February 23, 2015 (7.5KB)

Development依存関係 (3):

minitest ~> 5.0
yard ~> 0.8

所有者:

作者:

  • Damien Robert

SHA 256チェックサム:

7d7bae582ee2625104b473f4668fd27a862c049edd8d3d8587993bf7906e6863

累計ダウンロード数 3,106

このバージョンのみ 3,106

ライセンス:

MIT

必要なRubyのバージョン: >= 0

リンク: