<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>innocent-zero</author_name>
  <author_url>https://blog.hatena.ne.jp/innocent-zero/</author_url>
  <blog_title>ブログ</blog_title>
  <blog_url>https://gouf.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>gouf.hatenablog.com やってることは上の過去記事とおなじ lambda の定義をなくして、 yield_self を使うように書き換えた こういうときが yield_self を使う場面なのだろか require 'date' pp current_day = Date.new(2018, 11, 1) # =&gt; #&lt;Date: 2018-11-01 ((2458424j,0s,0n),+0s,2299161j)&gt; pp to_comparing_day = Date.new(2018, 11, 15) # =&gt; #&lt;Date: 2018-11-15 ((2458438j,0…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgouf.hatenablog.com%2Fentry%2F2019%2F01%2F02%2F184147&quot; title=&quot;Date 型情報から月と日のみで比較する (yield_self) - ブログ&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-01-02 18:41:47</published>
  <title>Date 型情報から月と日のみで比較する (yield_self)</title>
  <type>rich</type>
  <url>https://gouf.hatenablog.com/entry/2019/01/02/184147</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
