{"provider_name":"Hatena Blog","height":"190","published":"2015-09-20 05:13:45","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhatappo.hatenadiary.jp%2Fentry%2F2015%2F09%2F20%2F051345\" title=\"Ruby \u30af\u30e9\u30b9\u30d5\u30c3\u30af\uff1a\u30af\u30e9\u30b9\uff08\u30e2\u30b8\u30e5\u30fc\u30eb\uff09\u5b9a\u7fa9\u3067\u8d77\u304d\u308b\u30a4\u30d9\u30f3\u30c8\u3092\u63b4\u3093\u3067\u4f55\u304b\u3059\u308b - (-&gt;&gt; read write unlearn)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Ruby \u30af\u30e9\u30b9\u30d5\u30c3\u30af\uff1a\u30af\u30e9\u30b9\uff08\u30e2\u30b8\u30e5\u30fc\u30eb\uff09\u5b9a\u7fa9\u3067\u8d77\u304d\u308b\u30a4\u30d9\u30f3\u30c8\u3092\u63b4\u3093\u3067\u4f55\u304b\u3059\u308b","blog_url":"https://hatappo.hatenadiary.jp/","url":"https://hatappo.hatenadiary.jp/entry/2015/09/20/051345","provider_url":"https://hatena.blog","type":"rich","author_name":"hatappo","blog_title":"(->> read write unlearn)","version":"1.0","image_url":null,"author_url":"https://blog.hatena.ne.jp/hatappo/","categories":["ruby"],"description":"\u30af\u30e9\u30b9\uff08\u3084\u30e2\u30b8\u30e5\u30fc\u30eb\uff09\u5b9a\u7fa9\u306e\u30a4\u30d9\u30f3\u30c8\u306e\u767a\u751f\u6642\u306b\u81ea\u52d5\u3067\u547c\u3070\u308c\u308b\u30e1\u30bd\u30c3\u30c9\u304c\u3001Ruby\u306b\u306f\u7d44\u307f\u8fbc\u307f\u3067\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u300c\u7d99\u627f\u300d\u3068\u3044\u3046\u30a4\u30d9\u30f3\u30c8\u3092hook\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u306fBasicObject#inherited(klass)\u3067\u3059\u3002 inherited\u3092\u4f7f\u3063\u3066\u3001\u300c\u3053\u306e\u30af\u30e9\u30b9\u306f\u7d99\u627f\u3057\u3066\u6b32\u3057\u304f\u306a\u3044\u306e\u3067\u3001\u7d99\u627f\u3057\u305f\u3089\u4f8b\u5916\u3092\u6295\u3052\u308b\u300d\u3068\u3044\u3046\u5b9f\u88c5\u3092\u3057\u3066\u307f\u307e\u3059\u3002 class NonInheritable def self.inherited(klass) super raise StandardError, \"#{self} is not allowed to be inherited.\" end def met\u2026"}