{"url":"https://secret-garden.hatenablog.com/entry/2022/04/21/221330","blog_url":"https://secret-garden.hatenablog.com/","categories":["Ruby","bugs.ruby"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2022%2F04%2F21%2F221330\" title=\"2022/04/21 \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>","title":"2022/04/21 \u4eca\u56de\u306e\u6c17\u306b\u306a\u3063\u305f bugs.ruby \u306e\u30c1\u30b1\u30c3\u30c8","width":"100%","image_url":null,"blog_title":"Secret Garden(Instrumental)","author_url":"https://blog.hatena.ne.jp/osyo-manga/","description":"\u4eca\u9031\u306f\u30ec\u30b7\u30fc\u30d0\u306b\u5bfe\u3057\u3066 Kernel#p \u304c\u547c\u3073\u51fa\u305b\u308b\u3088\u3046\u306b\u3059\u308b\u63d0\u6848\u304c\u3042\u308a\u307e\u3057\u305f\u3002 \u524d\u56de\u306e\u307e\u3068\u3081 [Feature #18736] self-p for method chain \u6b21\u306e\u3088\u3046\u306b\u30e1\u30bd\u30c3\u30c9\u30c1\u30a7\u30fc\u30f3\u306e\u9593\u306b\u30ec\u30b7\u30fc\u30d0\u3092\u51fa\u529b\u3057\u305f\u3044\u3068\u3044\u3046\u8981\u671b\u30c1\u30b1\u30c3\u30c8 class Object def sp(method=nil, *args, &block) if method Kernel.p self.public_send(method, *args, &block) elsif block_given? Kernel.p block.call(self) else Kernel.p self end \u2026","provider_url":"https://hatena.blog","author_name":"osyo-manga","height":"190","provider_name":"Hatena Blog","type":"rich","version":"1.0","published":"2022-04-21 22:13:30"}