<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kakku22</author_name>
  <author_url>https://blog.hatena.ne.jp/kakku22/</author_url>
  <blog_title>kakakakakku blog</blog_title>
  <blog_url>https://kakakakakku.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>Ruby Gold のサンプル問題を解いてて alias の挙動に関する問題を間違えたので動作確認をした． ITトレメ Ruby技術者認定【Gold】試験 − ＠IT自分戦略研究所 class Foo def foo &quot;foo&quot; end end class Bar &lt; Foo def foo super + &quot;bar&quot; end alias bar foo undef foo end puts Bar.new.bar alias と undef はじめ undef で foo の定義が消されてるので，その foo を参照してる bar は undefined method になるかなと思ったけど…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkakakakakku.hatenablog.com%2Fentry%2F2015%2F05%2F10%2F234616&quot; title=&quot;Ruby の alias は評価時点の定義のまま残る - kakakakakku 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>http://ecx.images-amazon.com/images/I/41YUIRIkMbL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-05-10 23:46:16</published>
  <title>Ruby の alias は評価時点の定義のまま残る</title>
  <type>rich</type>
  <url>https://kakakakakku.hatenablog.com/entry/2015/05/10/234616</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
