<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yarb</author_name>
  <author_url>https://blog.hatena.ne.jp/yarb/</author_url>
  <blog_title>yarbの日記</blog_title>
  <blog_url>https://yarb.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>延々と範囲オブジェクトのことばかり調べているぼくは異常なRuby入門者だろうか……、という心配を感じつつも、まだ範囲オブジェクトのことを。Rubyの範囲オブジェクトは始点と終点を含む。(1..5)は1≤i≤5であって、1≤i irb(main):091:0&gt; (1...5).to_a =&gt; [1, 2, 3, 4]のように1≤i for i in 1..5 puts i end などとやるわけだけど（ぼくはfor文は捨ててeachで統一することにしたけど）、これはCで書けば、for (i = 1; i ということだ。しかし、配列の添字はゼロからスタートするし、ループの停止条件は「for (i …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyarb.hatenadiary.org%2Fentry%2F20080922%2Fp3&quot; title=&quot;ダイクストラ先生の議論とRubyの範囲オブジェクト - yarbの日記&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-09-22 00:00:00</published>
  <title>ダイクストラ先生の議論とRubyの範囲オブジェクト</title>
  <type>rich</type>
  <url>https://yarb.hatenadiary.org/entry/20080922/p3</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
