<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rubyco</author_name>
  <author_url>https://blog.hatena.ne.jp/rubyco/</author_url>
  <blog_title>rubyco（るびこ）の日記</blog_title>
  <blog_url>https://rubyco.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>Module#method_addedは、そのモジュールに対するメソッド定義時にコールバックされます。 method_added自身を定義する場所は重要です。 class Rubyco def yahoo puts &quot;Yahoo!&quot; end def self.method_added(symbol) puts &quot;method_added(#{symbol})&quot; end def hello puts &quot;Hello!&quot; end end実行結果です。yahooでは呼ばれません。 method_added(hello)メソッド定義ができない意地悪なクラスを作りました♪ class Rubyco def…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frubyco.hatenadiary.org%2Fentry%2F20060313%2Fmethodadded&quot; title=&quot;method_added - rubyco（るびこ）の日記&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>2006-03-13 00:00:01</published>
  <title>method_added</title>
  <type>rich</type>
  <url>https://rubyco.hatenadiary.org/entry/20060313/methodadded</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
