<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nokturnalmortum</author_name>
  <author_url>https://blog.hatena.ne.jp/nokturnalmortum/</author_url>
  <blog_title>地獄のネコブログ</blog_title>
  <blog_url>https://anekos.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>追記 しまった、うっかり&lt;=だと読んでもうた！ でも、範囲リテラルは括弧がいるのがなんとなくいやかな。 では、 「2..9 === x」や「x.between? 2, 9」で。 あれ？ 以前これは試してエラーだったような。 実際試すとエラー。 p (1..100 === 6) #=&gt; bad value for range (ArgumentError) if式の中にあると何故かエラーは出ないけど if 1..100 === 6 p :true_1 else p :false_1 end if 1..100 === 1000 p :true_2 else p :false_2 end if (…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanekos.hatenablog.com%2Fentry%2F20080628%2F1214649044&quot; title=&quot;RubyのRangeリテラル - 地獄のネコブログ&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>2008-06-28 19:30:44</published>
  <title>RubyのRangeリテラル</title>
  <type>rich</type>
  <url>https://anekos.hatenablog.com/entry/20080628/1214649044</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
