<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>osyo-manga</author_name>
  <author_url>https://blog.hatena.ne.jp/osyo-manga/</author_url>
  <blog_title>Secret Garden(Instrumental)</blog_title>
  <blog_url>https://secret-garden.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>Hash#map は渡したブロックの引数の数によって受け取り方が異なります。 homu = { name: :homu, age: 14 } # 引数が2つの場合はキーと値が別々に渡される homu.map { |key, value| &quot;#{key} : #{value}&quot; } # =&gt; [&quot;name : homu&quot;, &quot;age : 14&quot;] # 引数が1つの場合は、[キー, 値]の配列が渡される homu.map { |item| &quot;#{item[0]} : #{item[1]}&quot; } # =&gt; [&quot;name : homu&quot;, &quot;age : 14&quot;] # 可変長引数の場合は、引数が1つの時…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2015%2F08%2F10%2F222746&quot; title=&quot;Ruby の Hash#map に渡すブロックは引数の数によって受け取り方が異なる - Secret Garden(Instrumental)&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>2015-08-10 22:27:46</published>
  <title>Ruby の Hash#map に渡すブロックは引数の数によって受け取り方が異なる</title>
  <type>rich</type>
  <url>https://secret-garden.hatenablog.com/entry/2015/08/10/222746</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
