<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ledsun</author_name>
  <author_url>https://blog.hatena.ne.jp/ledsun/</author_url>
  <blog_title>@ledsun blog</blog_title>
  <blog_url>https://ledsun.hatenablog.com/</blog_url>
  <categories>
    <anon>技</anon>
    <anon>Ruby</anon>
  </categories>
  <description>fizzbuzz = -&gt; x { x % 15 == 0 ? 'FizzBuzz' : x % 5 == 0 ? 'Buzz' : x % 3 == 0 ? 'Fizz' : x } p_fizzbuzz = -&gt; x { p x } &lt;&lt; fizzbuzz 1.upto(15){ | n | p_fizzbuzz.call(n) } pと合成するだけでは面白くないですね。 fizz = -&gt; x { (x.is_a? Integer) &amp;&amp; x % 3 == 0 ? 'Fizz' : x } buzz = -&gt; x { (x.is_a? Integer) &amp;&amp; x % 5 == 0 ? '…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fledsun.hatenablog.com%2Fentry%2F2018%2F12%2F26%2F225457&quot; title=&quot;Ruby2.6 に関数合成オペレータが追加されたのでFizzBuzzで遊ぶ - @ledsun blog&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>2018-12-26 22:54:57</published>
  <title>Ruby2.6 に関数合成オペレータが追加されたのでFizzBuzzで遊ぶ</title>
  <type>rich</type>
  <url>https://ledsun.hatenablog.com/entry/2018/12/26/225457</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
