<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>daido1976</author_name>
  <author_url>https://blog.hatena.ne.jp/daido1976/</author_url>
  <blog_title>Feedforce Developer Blog</blog_title>
  <blog_url>https://developer.feedforce.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>こんにちは、id:daido1976 です。 Ruby 3.0 の「キーワード引数の分離」が原因で委譲用のメソッドが壊れた場合、特に Ruby 2.6 ~ 3.0 で互換性を保ちながら対応する場合の日本語記事が見当たらなかったので、書かせていただきます。 インスタンスメソッドが壊れた場合 以下のコードは Ruby 3.0 より前のバージョンでは動きますが、3.0 からは MyClass#other_method の実行時に ArgumentError が起きるようになります。（2.7 の時も警告が出ます） class MyClass def delegating_method(*args) o…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdeveloper.feedforce.jp%2Fentry%2F2021%2F01%2F29%2F121252&quot; title=&quot;Ruby 3.0 の「キーワード引数の分離」で委譲用のメソッドが壊れた場合の対応方法 - Feedforce Developer 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>https://cdn.user.blog.st-hatena.com/default_entry_og_image/4268819/1588226000876991</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-01-29 12:12:52</published>
  <title>Ruby 3.0 の「キーワード引数の分離」で委譲用のメソッドが壊れた場合の対応方法</title>
  <type>rich</type>
  <url>https://developer.feedforce.jp/entry/2021/01/29/121252</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
