<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Sixeight</author_name>
  <author_url>https://blog.hatena.ne.jp/Sixeight/</author_url>
  <blog_title>ちなみに</blog_title>
  <blog_url>https://blog.nishimu.land/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>仕事で使っている Gem が Ruby 2.2.0-preview1 で動かすと以下のような警告を出すようになった。 Comparable#== will no more rescue exceptions of #&lt;=&gt; in the next release. Comparable#== は &lt;=&gt; の定義を使ってオブジェクトが同一かを調べる。&lt;=&gt; が 0 を返した場合は、同じオブジェクトであると判断するようになっている。 ところでドキュメントを読むと以下のような記述がある。 Even if obj &lt;=&gt; other raised an exception, the exception…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.nishimu.land%2Fentry%2F2014%2F09%2F25%2F230346&quot; title=&quot;Comparable#== が &amp;lt;=&amp;gt; の例外を黙殺しなくなる件について - ちなみに&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>http://cdn.image.st-hatena.com/image/scale/beb6d5e75f828edff9ee309cc2822b53f9c07fb1/enlarge=0;height=200;version=1;width=200/http%3A%2F%2Fa1.mzstatic.com%2Fus%2Fr30%2FMusic1%2Fv4%2Feb%2F60%2F04%2Feb600461-6436-e106-679c-aa838b4ac819%2F4523132113449.100x100-75.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-09-25 23:03:46</published>
  <title>Comparable#== が &lt;=&gt; の例外を黙殺しなくなる件について</title>
  <type>rich</type>
  <url>https://blog.nishimu.land/entry/2014/09/25/230346</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
