<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>e_c_e_t</author_name>
  <author_url>https://blog.hatena.ne.jp/e_c_e_t/</author_url>
  <blog_title>記録（e_c_e_t）</blog_title>
  <blog_url>https://e-c-e-t.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>アスタリスク（＊）がついた引数の扱いにちょっと迷ったというか、忘れてた（！）ので復習。 irb(main):001:0&gt; a = [&quot;abc&quot;, &quot;def&quot;, &quot;ghi&quot;] =&gt; [&quot;abc&quot;, &quot;def&quot;, &quot;ghi&quot;] irb(main):003:0&gt; p a.to_a [&quot;abc&quot;, &quot;def&quot;, &quot;ghi&quot;] =&gt; nil irb(main):004:0&gt; b = [1, 2, 3] =&gt; [1, 2, 3] irb(main):005:0&gt; p b.to_a [1, 2, 3] =&gt; nilと、上記のように配列を二つ用意しておく。 可変引数を取ろうとして、こういう風に宣言すると ir…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fe-c-e-t.hatenadiary.org%2Fentry%2F20060822&quot; title=&quot;rubyのメソッド引数の復習１ - 記録（e_c_e_t）&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>2006-08-22 00:00:00</published>
  <title>rubyのメソッド引数の復習１</title>
  <type>rich</type>
  <url>https://e-c-e-t.hatenadiary.org/entry/20060822</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
