<?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 アドベントカレンダーの4日目の記事です(が、書いてるのは12月7日です)。 qiita.com Numbered parameter 2.6 までは、ブロックに渡される引数を受け取るためには | で明示的に変数を宣言する必要がありました。 [5, 2, 4, 1, 3].sort { |a, b| a &lt;=&gt; b } #=&gt; [1, 2, 3, 4, 5] 2.7 では宣言しなくても _1, _2, ... で使用することができます。 [5, 2, 4, 1, 3].sort { _1 &lt;=&gt; _2 } #=&gt; [1, 2, 3, 4, 5] 候補は @1 とか it とか色…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmtms.net%2Fentry%2F201912%2Fruby27-numbered-parameter&quot; title=&quot;Ruby 2.7 の変更点 - Numbered parameter - 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-04 00:00:00</published>
  <title>Ruby 2.7 の変更点 - Numbered parameter</title>
  <type>rich</type>
  <url>https://blog.tmtms.net/entry/201912/ruby27-numbered-parameter</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
