{"author_name":"buty4649","url":"https://tech.buty4649.net/entry/2023/11/27/213722","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/b/buty4649/20231124/20231124164641.png","blog_url":"https://tech.buty4649.net/","version":"1.0","provider_name":"Hatena Blog","title":"Ruby\u3067C++\u306estd::cout << \"Hello, world!\"\" << std::endl\u3092\u518d\u73fe\u3059\u308b","blog_title":"\u3076\u3066\u3044\u306e\u30ed\u30b0\u3067\u3076\u30ed\u30b0","type":"rich","categories":[],"height":"190","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.buty4649.net%2Fentry%2F2023%2F11%2F27%2F213722\" title=\"Ruby\u3067C++\u306estd::cout &lt;&lt; &quot;Hello, world!&quot;&quot; &lt;&lt; std::endl\u3092\u518d\u73fe\u3059\u308b - \u3076\u3066\u3044\u306e\u30ed\u30b0\u3067\u3076\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2023-11-27 21:37:22","width":"100%","author_url":"https://blog.hatena.ne.jp/buty4649/","description":"\u4f1a\u793e\u306eSlack\u3067\"Ruby\u3067\u3082>\u3084<\u306a\u3069\u304c\u30aa\u30fc\u30d0\u30e9\u30a4\u30c9\u3067\u304d\u308b\u306e\u304b\uff01\"\u3068\u3044\u3046\u767a\u8a00\u3092\u3057\u305f\u3068\u3053\u308d\u3001C++\u306estd::cout\u304c\u5b9f\u88c5\u3067\u304d\u308b\u306e\u3067\u306f\u306a\u3044\u304b\uff1f\uff1f\u3068\u8fd4\u3055\u308c\u305f\u306e\u3067\u3084\u3063\u3066\u307f\u305f\u3089\u3067\u304d\u305f\u3002 std = Class.new do class Cout def <<(other) if other == :endl puts $stdout.flush else $stdout.write(other) end self end end def self.cout Cout.new end def self.endl Object.new end end std::cout << \"Hello, wor\u2026"}