{"height":"190","title":"ruby\u306eand \u3068 &&\u3001or \u3068 ||","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fganmacs.hatenablog.com%2Fentry%2F2013%2F11%2F07%2F202321\" title=\"ruby\u306eand \u3068 &amp;&amp;\u3001or \u3068 || - memo-mode\" 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":"memo-mode","url":"https://ganmacs.hatenablog.com/entry/2013/11/07/202321","author_name":"ganmacs","width":"100%","blog_url":"https://ganmacs.hatenablog.com/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","version":"1.0","image_url":null,"published":"2013-11-07 20:23:21","categories":["Ruby"],"author_url":"https://blog.hatena.ne.jp/ganmacs/","description":"ruby\u306eand\u3068&&\u306f\u540c\u3058\u3060\u3068\u52d8\u9055\u3044\u3057\u3066\u3044\u305f\u306e\u3067\u899a\u3048\u66f8\u304d and \u3068 &&\u306f\u4e00\u7dd2\u306a\u3093\u3060\u3051\u3069\u6f14\u7b97\u5b50\u306e\u512a\u5148\u5ea6\u304c\u9055\u3046 Ruby \u30ea\u30d5\u30a1\u30ec\u30f3\u30b9 \u306a\u306e\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b p true and false # => true p true && false # => false \u4e0a\u306e\u5f0f\u306f (p true) and false \u3068\u306a\u308afalse\u306e\u307b\u3046\u306f\u305d\u3082\u305d\u3082\u8868\u793a\u3055\u308c\u306a\u3044. \u306a\u306e\u3067\u3082\u3057and\u3067\u66f8\u304f\u306a\u3089 p (true and false) # => false \u3068\u306a\u308a\uff0c\u4e88\u60f3\u901a\u308a\u306e\u7d50\u679c\u306b\u306a\u308b \u3053\u308c\u306for\u3068||\u3067\u3082\u4e00\u7dd2\uff0e"}