{"published":"2020-06-26 20:09:02","height":"190","image_url":null,"type":"rich","provider_name":"Hatena Blog","categories":["Ruby","bugs.ruby"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2020%2F06%2F26%2F200902\" title=\"\u4eca\u9031\u306e\u6c17\u306b\u306a\u3063\u305f bugs.ruby - Secret Garden(Instrumental)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","blog_title":"Secret Garden(Instrumental)","width":"100%","version":"1.0","blog_url":"https://secret-garden.hatenablog.com/","url":"https://secret-garden.hatenablog.com/entry/2020/06/26/200902","description":"\u5185\u5bb9\u306f\u9069\u5f53\u3067\u3059\u3002 \u4eca\u9031\u3068\u8a00\u3063\u3066\u3082\u4eca\u9031\u307f\u304b\u3051\u305f\u30c1\u30b1\u30c3\u30c8\u306a\u3060\u3051\u3067\u30c1\u30b1\u30c3\u30c8\u81ea\u4f53\u306f\u6614\u304b\u3089\u3042\u308b\u3084\u3064\u3082\u3042\u308a\u307e\u3059\u3002 \u5148\u9031\u306e\u307e\u3068\u3081 [Bug #11669] inconsitent behavior of refining frozen class freeze \u3055\u308c\u305f\u30af\u30e9\u30b9\u306b\u5bfe\u3057\u3066 Refinements \u3067\u65b0\u3057\u3044\u30e1\u30bd\u30c3\u30c9\u3092\u5b9a\u7fa9\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3044\u305f class X def foo end end X.freeze using Module.new { refine X do # OK def foo end # error: can't modify frozen class: X (FrozenErr\u2026","author_url":"https://blog.hatena.ne.jp/osyo-manga/","title":"\u4eca\u9031\u306e\u6c17\u306b\u306a\u3063\u305f bugs.ruby","author_name":"osyo-manga"}