<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tmd45</author_name>
  <author_url>https://blog.hatena.ne.jp/tmd45/</author_url>
  <blog_title>TMD45'β'LOG!!!</blog_title>
  <blog_url>https://blog.betaful.life/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>POODR</anon>
  </categories>
  <description>前回の記事を振り返ってみて、受ける側 f2 の引数が固定なのが「変化に弱そう」だなと思って、キーワード引数で考え直してみた。値を生成する側のメソッド f1 も Hash を返す。 def f1 { two: 2, one: 1 } # 順番も気にしなくていい end def f2(one:, two:) p &quot;#{one}, #{two}&quot; end f2(f1) #=&gt; &quot;1, 2&quot; これだと展開とか考えないでいいのか。複数の値が引き継がれることが見えなくなるのは良いこと、かな？</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.betaful.life%2Fentry%2F2016%2F11%2F05%2F015636&quot; title=&quot;メソッドの戻り値である複数の値を展開して他のメソッドの引数に使う - TMD45&amp;#39;β&amp;#39;LOG!!!&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>https://cdn.mogile.archive.st-hatena.com/v1/image/tmd45/297791867729032195.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-11-05 01:56:36</published>
  <title>メソッドの戻り値である複数の値を展開して他のメソッドの引数に使う</title>
  <type>rich</type>
  <url>https://blog.betaful.life/entry/2016/11/05/015636</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
