<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>plarail_hangout</author_name>
  <author_url>https://blog.hatena.ne.jp/plarail_hangout/</author_url>
  <blog_title>Engineering Tech Dojo</blog_title>
  <blog_url>https://tech.fun-toy-life.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>Ruby の繰り返し処理：each・times・map の使い分け Ruby の繰り返し処理は each・times・map などのメソッドで書きます。for 文より簡潔で Ruby らしい書き方になります。 早わかりまとめ メソッド 向いている用途 each 配列・ハッシュの全要素を処理する times n 回繰り返す upto / downto 数値の範囲を順に処理する map / collect 変換した新しい配列を作る each_with_index インデックスも使いながら繰り返す each_with_object 結果をオブジェクトに積み上げる each：配列の全要素を処理する n…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.fun-toy-life.com%2Fentry%2F2026%2F06%2F30%2F215319&quot; title=&quot;Ruby の繰り返し処理：each・times・map の使い分け - Engineering Tech Dojo&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>2026-06-30 21:53:19</published>
  <title>Ruby の繰り返し処理：each・times・map の使い分け</title>
  <type>rich</type>
  <url>https://tech.fun-toy-life.com/entry/2026/06/30/215319</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
