<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>peakp</author_name>
  <author_url>https://blog.hatena.ne.jp/peakp/</author_url>
  <blog_title>Ruby勉強</blog_title>
  <blog_url>https://peakp.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>定数は外側を参照し、その次に継承関係を探索する class C CONST = &quot;c&quot; end class A CONST = &quot;a&quot; class B &lt; C p CONST end end #=&gt; &quot;a&quot; このように明示的に、定数を参照することもできる class C CONST = &quot;c&quot; end class A CONST = &quot;a&quot; class B &lt; C p C::CONST end end #=&gt; &quot;c&quot; CONST = &quot;d&quot; class A p CONST end #=&gt; &quot;d&quot; トップレベルは参照順位が低い CONST = &quot;d&quot; class A CONST = &quot;e&quot; en…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpeakp.hatenablog.com%2Fentry%2F2015%2F10%2F27%2F082901&quot; title=&quot; Ruby 定数の参照順位 - Silver/Gold試験対策 - 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>2015-10-27 08:29:01</published>
  <title> Ruby 定数の参照順位 - Silver/Gold試験対策</title>
  <type>rich</type>
  <url>https://peakp.hatenablog.com/entry/2015/10/27/082901</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
