<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kwatch</author_name>
  <author_url>https://blog.hatena.ne.jp/kwatch/</author_url>
  <blog_title>kなんとかの日記</blog_title>
  <blog_url>https://kwatch.hatenadiary.org/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>こんなん今の今まで知らんかったわ。 irb&gt; true || true &amp;&amp; false #=&gt; true irb&gt; true or true and false #=&gt; false irb&gt; true || false &amp;&amp; false #=&gt; true irb&gt; true or false and false #=&gt; falseまじですかー! 何やねん、これ。マニュアル見ると、and と or の優先順位が一緒だった。つまり '&amp;&amp;' &gt; '||' なのに 'and' == 'or' ですよ。 これに基づくと、上のはこう解釈されていることになる。 irb&gt; true || (true &amp;&amp;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkwatch.hatenadiary.org%2Fentry%2F20100409%2F1270767786&quot; title=&quot; Ruby の落とし穴: 実は and と or の優先順位が一緒 - kなんとかの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-04-09 08:03:06</published>
  <title> Ruby の落とし穴: 実は and と or の優先順位が一緒</title>
  <type>rich</type>
  <url>https://kwatch.hatenadiary.org/entry/20100409/1270767786</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
