<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>Rubyのeachメソッドはハッシュだとキーが一緒に取得できるが、配列だとインデックスは取得できない。 HashとArray(配列)のeach Hash hash = {commander: &quot;Mika&quot;, gunner: &quot;Aki&quot;, driver: &quot;Mikko&quot;} hash.each{|key, value| puts &quot;#{key} =&gt; #{value}&quot; } Array arg = [&quot;Mika&quot;, &quot;Aki&quot;, &quot;Mikko&quot;] arg.each{|value| puts value } # 引数を書いてもエラーにはならないが取得はできない arg.each{|index, va…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2016%2F03%2F19%2F083000&quot; title=&quot;Ruby ループで配列のindexを取得したい。 - かもメモ&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>http://ecx.images-amazon.com/images/I/51XdQhacD-L.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-03-19 08:30:00</published>
  <title>Ruby ループで配列のindexを取得したい。</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2016/03/19/083000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
