<?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>ruby</anon>
  </categories>
  <description>id:taigouさんとの話で「特異クラス」という単語が出てきていますが、yuguiさんの説明によるとこんな感じ。 特異クラス 特定のオブジェクトだけ、他の同輩たちには無い特別なメソッドを持たせたいと思ったらどうするだろう。特異メソッドとは要するにそういうものだ。C++だったら、特別なメソッドを持った子クラスを作ってSingletonパターンを適用するというやりかたが選択肢に挙がるだろうなと思う。Rubyの特異クラスとはそれ、そのものだ。 すばらしく分かりやすい説明。なぜsingletonという言葉が使われているのかもイメージしやすい。 でも、残念ながら特異クラスをオブジェクトから取得する方法…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakm.hatenadiary.org%2Fentry%2F20100301%2F1267410057&quot; title=&quot; eigenclass - 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>2010-03-01 11:20:57</published>
  <title> eigenclass</title>
  <type>rich</type>
  <url>https://akm.hatenadiary.org/entry/20100301/1267410057</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
