{"image_url":null,"author_name":"osyo-manga","height":"190","author_url":"https://blog.hatena.ne.jp/osyo-manga/","width":"100%","type":"rich","published":"2021-12-22 20:43:49","blog_title":"Secret Garden(Instrumental)","provider_url":"https://hatena.blog","categories":["AdventCalendar","bugs.ruby","Ruby"],"version":"1.0","url":"https://secret-garden.hatenablog.com/entry/2021/12/22/204349","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2021%2F12%2F22%2F204349\" title=\"\u3010\u4e00\u4eba bugs.ruby Advent Calendar 2021\u3011[Bug #18246] send does not work for unary ! operator when operator isn&#39;t a literal symbol\u301022\u65e5\u76ee\u3011 - 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_url":"https://secret-garden.hatenablog.com/","description":"\u4e00\u4eba bugs.ruby Advent Calendar 2021 22\u65e5\u76ee\u306e\u8a18\u4e8b\u306b\u306a\u308a\u307e\u3059\u3002 \u4eca\u65e5\u306f ! \u5358\u9805\u6f14\u7b97\u5b50\u3092 send \u3067\u547c\u3073\u51fa\u3059\u6642\u306e\u8a71\u3067\u3059\u3002 [Bug #18246] send does not work for unary ! operator when operator isn't a literal symbol ! \u5358\u9805\u6f14\u7b97\u5b50\u3092 send \u3067\u547c\u3073\u51fa\u3059\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3068\u3044\u3046\u30d0\u30b0\u5831\u544a\u3067\u3059\u3002 # \u3053\u308c\u306f + \u4e8c\u9805\u6f14\u7b97\u5b50\u3092\u547c\u3076 1.send(:+, 2) # => 3 1.send(:\"+\", 2) # => 3 # \u3053\u308c\u306f - \u5358\u9805\u6f14\u7b97\u5b50\u3092\u547c\u3076 1.send(:-@) #=> -\u2026","title":"\u3010\u4e00\u4eba bugs.ruby Advent Calendar 2021\u3011[Bug #18246] send does not work for unary ! operator when operator isn't a literal symbol\u301022\u65e5\u76ee\u3011","provider_name":"Hatena Blog"}