<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ganmacs</author_name>
  <author_url>https://blog.hatena.ne.jp/ganmacs/</author_url>
  <blog_title>memo-mode</blog_title>
  <blog_url>https://ganmacs.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>rack/rack · GitHub のコード読んでてプラグイン(Rackの場合はバックエンドにどのサーバを使うか)の処理があったので取り出して書いてみた． Rubyではクラスは定数なのでHandlerっていう名前空間の中の定数を探すだけでいい． # sample1.rb module Handler class Base def call run end def run raise NotImplementedError end end class PlugA &lt; Base def run p &quot;called in A&quot; end end end # sample2.rb module Han…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fganmacs.hatenablog.com%2Fentry%2F2015%2F07%2F31%2F154255&quot; title=&quot;Rubyでプラグイン機構を作る - memo-mode&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-07-31 15:42:55</published>
  <title>Rubyでプラグイン機構を作る</title>
  <type>rich</type>
  <url>https://ganmacs.hatenablog.com/entry/2015/07/31/154255</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
