{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdeveloper.hateblo.jp%2Fentry%2F20080514%2F1210784262\" title=\"Singleton \u30d1\u30bf\u30fc\u30f3\u3067\u3001initialize\u3092\u5229\u7528\u3057\u305f\u3044\u3002 - developer&#39;s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Ruby","ruby"],"height":"190","version":"1.0","author_name":"mitsugi-bb","provider_name":"Hatena Blog","type":"rich","provider_url":"https://hatena.blog","url":"https://developer.hateblo.jp/entry/20080514/1210784262","blog_url":"https://developer.hateblo.jp/","image_url":null,"width":"100%","published":"2008-05-14 01:57:42","description":"\u8003\u3048\u65b9\u304c\u9593\u9055\u3063\u3066\u3044\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u304c\u3002 class DisplayOutPutOn def out_put puts \"DisplayOutPutOn\" end end class DisplayOutPutOff def out_put puts \"DisplayOutPutOff\" end end require 'singleton' class Display include Singleton def initialize(displayOnOff = true) #displayOnOff\u304ctrue\u304bfalse\u3067\u3001\u632f\u308b\u821e\u3044\u3092\u5909\u3048\u305f\u3044\u3002 if displayOnOff @Display\u2026","author_url":"https://blog.hatena.ne.jp/mitsugi-bb/","title":"Singleton \u30d1\u30bf\u30fc\u30f3\u3067\u3001initialize\u3092\u5229\u7528\u3057\u305f\u3044\u3002","blog_title":"developer's diary"}