<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tmtms</author_name>
  <author_url>https://blog.hatena.ne.jp/tmtms/</author_url>
  <blog_title>tmtms のメモ</blog_title>
  <blog_url>https://blog.tmtms.net/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Ruby2.7</anon>
  </categories>
  <description>Ruby 2.7 アドベントカレンダーの9日目の記事です。 qiita.com 「...」で全引数渡し メソッド内から別のメソッドを呼び出す際に、... で今のメソッドに渡された引数そのまま渡すことができるようになりました。 ブロックも含めてすべて渡されます。 def hoge(...) fuga(...) end def fuga(a, b=0, key: 123, &amp;block) p [a, b, key, block] end hoge(1) #=&gt; [1, 0, 123, nil] hoge(1, 2, key: 789) #=&gt; [1, 2, 789, nil] hoge(1) { …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmtms.net%2Fentry%2F201912%2Fruby27-argument-forwarding&quot; title=&quot;Ruby 2.7 の変更点 - 「...」で全引数渡し - tmtms のメモ&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-12-09 00:00:00</published>
  <title>Ruby 2.7 の変更点 - 「...」で全引数渡し</title>
  <type>rich</type>
  <url>https://blog.tmtms.net/entry/201912/ruby27-argument-forwarding</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
