<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinkufencer</author_name>
  <author_url>https://blog.hatena.ne.jp/shinkufencer/</author_url>
  <blog_title>コード日進月歩</blog_title>
  <blog_url>https://shinkufencer.hateblo.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>逆引き的にお送りします。 環境 $ ruby -v ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-darwin18] メソッド 一定回数やる場合の times x回繰り返すというときにつかえるもの、indexに入るのは0から 5.times { |n| p n } # 0 # 1 # 2 # 3 # 4 指定した整数値から1ずつカウントアップする upto 決まった数から1ずつ挙げていきたい場合に使うupto 5.upto(7) { |n| p n } # 5 # 6 # 7 なお、数が既に満たされている場合は何も実行されない 5.upto…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinkufencer.hateblo.jp%2Fentry%2F2019%2F07%2F21%2F000000&quot; title=&quot;Rubyでカウントアップ/ダウンをするメソッドあれこれ - コード日進月歩&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>2019-07-21 00:00:00</published>
  <title>Rubyでカウントアップ/ダウンをするメソッドあれこれ</title>
  <type>rich</type>
  <url>https://shinkufencer.hateblo.jp/entry/2019/07/21/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
