<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tapira</author_name>
  <author_url>https://blog.hatena.ne.jp/tapira/</author_url>
  <blog_title>カメニッキ</blog_title>
  <blog_url>https://tapira.hatenablog.com/</blog_url>
  <categories>
    <anon>old</anon>
  </categories>
  <description>自クラス、Mixinしたクラス、スーパークラスの中でメソッド名が重複してしまう場合があります。 その時に検索される順序を確認したところ、以下のとおりでした。1.オブジェクトが直接所属するクラス 2.includeされたmixin 3.スーパークラス 4.スーパークラスにincludeされたmixin上から順番に検索されます。 なお、複数mixinしている場合は最後にincludeしたものが順番に検索されます。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftapira.hatenablog.com%2Fentry%2F20120428%2F1335614309&quot; title=&quot;Rubyでメソッドが検索される順序 - カメニッキ&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>2012-04-28 20:58:29</published>
  <title>Rubyでメソッドが検索される順序</title>
  <type>rich</type>
  <url>https://tapira.hatenablog.com/entry/20120428/1335614309</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
