<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>akm</author_name>
  <author_url>https://blog.hatena.ne.jp/akm/</author_url>
  <blog_title>akimatter</blog_title>
  <blog_url>https://akm.hatenadiary.org/</blog_url>
  <categories>
    <anon>javascript</anon>
  </categories>
  <description>prototype.jsに限った話じゃないけど、クラスを作ってoverrideしたいことが結構ある。 でも実はメソッド単位でoverrideしたいということに気付いて、こんなテストケースを書こうとした。 var classA = Class.create(); classA.prototype = { initialize: function() { this.result = []; }, foo: function() { this.result.push(&quot;fooA&quot;); } } Function.overrideMethod( classA.prototype, &quot;foo&quot;, func…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakm.hatenadiary.org%2Fentry%2F20060114%2F1137219216&quot; title=&quot; superなメソッドの呼び出し - akimatter&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-01-14 15:13:36</published>
  <title> superなメソッドの呼び出し</title>
  <type>rich</type>
  <url>https://akm.hatenadiary.org/entry/20060114/1137219216</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
