{"type":"rich","image_url":null,"width":"100%","categories":["Q&A","Ruby"],"published":"2022-05-04 22:37:12","author_url":"https://blog.hatena.ne.jp/innocent-zero/","provider_url":"https://hatena.blog","author_name":"innocent-zero","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgouf.hatenablog.com%2Fentry%2F2022%2F05%2F04%2F223712\" title=\"Q. \u30d5\u30a1\u30af\u30c8\u30ea\u30e1\u30bd\u30c3\u30c9\u3092\u4e3b\u3068\u3057\u305f\u30af\u30e9\u30b9\u5b9f\u88c5\u3067\u3001\u30af\u30e9\u30b9\u306e\u521d\u671f\u5316\u3092\u5916\u304b\u3089\u96a0\u3057\u305f\u3044 - \u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u30d6\u30ed\u30b0","description":"A. private_class_method :new \u3092\u8a18\u8ff0\u3059\u308b \u53c2\u8003\u306b\u3057\u305f\u30b3\u30fc\u30c9\u306f\u300c\u826f\u3044\u30b3\u30fc\u30c9\uff0f\u60aa\u3044\u30b3\u30fc\u30c9\u3067\u5b66\u3076\u8a2d\u8a08\u5165\u9580\u300d\u306e\u300c5.2.1 private \u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf+\u30d5\u30a1\u30af\u30c8\u30ea\u30e1\u30bd\u30c3\u30c9\u3067\u76ee\u7684\u5225\u521d\u671f\u5316\u300d\u3088\u308a gist.github.com Links How to make the class constructor private in Ruby? - Stack Overflow \u826f\u3044\u30b3\u30fc\u30c9\uff0f\u60aa\u3044\u30b3\u30fc\u30c9\u3067\u5b66\u3076\u8a2d\u8a08\u5165\u9580\u2015\u4fdd\u5b88\u3057\u3084\u3059\u3044 \u6210\u9577\u3057\u7d9a\u3051\u308b\u30b3\u30fc\u30c9\u306e\u66f8\u304d\u65b9 | \u4ed9\u5872 \u5927\u4e5f | \u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fbIT | Kindle\u30b9\u30c8\u30a2 | Amazon","blog_url":"https://gouf.hatenablog.com/","height":"190","url":"https://gouf.hatenablog.com/entry/2022/05/04/223712","title":"Q. \u30d5\u30a1\u30af\u30c8\u30ea\u30e1\u30bd\u30c3\u30c9\u3092\u4e3b\u3068\u3057\u305f\u30af\u30e9\u30b9\u5b9f\u88c5\u3067\u3001\u30af\u30e9\u30b9\u306e\u521d\u671f\u5316\u3092\u5916\u304b\u3089\u96a0\u3057\u305f\u3044","version":"1.0","provider_name":"Hatena Blog"}