<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>utgwkk</author_name>
  <author_url>https://blog.hatena.ne.jp/utgwkk/</author_url>
  <blog_title>私が歌川です</blog_title>
  <blog_url>https://blog.utgw.net/</blog_url>
  <categories>
    <anon>技術</anon>
  </categories>
  <description>いがいと忘れられがち三兄弟。 upto文は、見た目通り、aがbになるまでインクリメントしながら繰り返す。 downto文は、見た目通り、aがbになるまでデクリメント繰り返す。 times文は、見た目通り、n回繰り返す。 説明が適当になった。ソース見たほうが早いね。 #! ruby 2.upto(10) do |i| puts i end puts 15.downto(7) do |j| puts j end puts 5.times do |n| puts &quot;ルーミアちゃんかわいい！！(#{n}回目)&quot; end 実行結果 2 3 4 5 6 7 8 9 10 15 14 13 12 11 10…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.utgw.net%2Fentry%2F2013%2F04%2F26%2F173107&quot; title=&quot;Ruby忘録 upto文、downto文、times文 - 私が歌川です&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>2013-04-26 17:31:07</published>
  <title>Ruby忘録 upto文、downto文、times文</title>
  <type>rich</type>
  <url>https://blog.utgw.net/entry/2013/04/26/173107</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
