{"author_name":"osyo-manga","categories":["bugs.ruby","Ruby"],"image_url":null,"title":"2021/12/16 \u4eca\u56de\u306e\u6c17\u306b\u306a\u3063\u305f bugs.ruby \u306e\u30c1\u30b1\u30c3\u30c8","url":"https://secret-garden.hatenablog.com/entry/2021/12/16/215403","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2021%2F12%2F16%2F215403\" title=\"2021/12/16 \u4eca\u56de\u306e\u6c17\u306b\u306a\u3063\u305f bugs.ruby \u306e\u30c1\u30b1\u30c3\u30c8 - 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>","blog_title":"Secret Garden(Instrumental)","blog_url":"https://secret-garden.hatenablog.com/","height":"190","version":"1.0","width":"100%","author_url":"https://blog.hatena.ne.jp/osyo-manga/","type":"rich","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","published":"2021-12-16 21:54:03","description":"\u4eca\u9031\u306f {Method,UnboundMethod}#{public?,private?,protected?} \u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002 \u524d\u56de\u306e\u307e\u3068\u3081 [Bug #18405] Regression in Struct member setter method parameters Struct \u306e\u6700\u9069\u5316\u3092\u3057\u305f\u969b\u306b\u30c7\u30b0\u30ec\u3057\u3066\u3044\u308b\u3068\u3044\u3046\u30d0\u30b0\u5831\u544a S = Struct.new(:foo) S.instance_method(:foo=).parameters # \u6700\u9069\u5316\u524d => [[:req, :_]] # \u6700\u9069\u5316\u5f8c => [[:req]] \u30bb\u30c3\u30bf\u30fc\u30e1\u30bd\u30c3\u30c9\u306a\u306e\u306b\u5f15\u6570\u3092\u53d7\u3051\u53d6\u3089\u306a\u3044\u306e\u306f\u304a\u304b\u3057\u3044\u3093\u3058\u3083\u306a\u2026"}