{"url":"https://secret-garden.hatenablog.com/entry/2022/06/17/222811","author_name":"osyo-manga","provider_name":"Hatena Blog","blog_title":"Secret Garden(Instrumental)","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2022%2F06%2F17%2F222811\" title=\"2022/06/17 \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>","categories":["Ruby","bugs.ruby"],"height":"190","version":"1.0","description":"\u524d\u56de\u306e\u307e\u3068\u3081 [Bug #18826] Symbol#to_proc inconsistent, sometimes calls private methods #tap \u306b & \u6e21\u3057\u3067\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u5834\u5408\u306b private \u3084 protected \u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u4e8b\u304c\u3067\u304d\u308b\u30d0\u30b0\u5831\u544a class Test protected def referenced_columns puts \"hello\" end end # protected \u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u4e8b\u304c\u3067\u304d\u308b Test.new.tap(&:referenced_columns) # => hello # Symbol#to_proc \u2026","published":"2022-06-17 22:28:11","author_url":"https://blog.hatena.ne.jp/osyo-manga/","type":"rich","blog_url":"https://secret-garden.hatenablog.com/","title":"2022/06/17 \u4eca\u56de\u306e\u6c17\u306b\u306a\u3063\u305f bugs.ruby \u306e\u30c1\u30b1\u30c3\u30c8","width":"100%","image_url":null,"provider_url":"https://hatena.blog"}