<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tbpg</author_name>
  <author_url>https://blog.hatena.ne.jp/tbpg/</author_url>
  <blog_title>Tbpgr Blog</blog_title>
  <blog_url>https://tbpgr.hatenablog.com/</blog_url>
  <categories>
    <anon>GoFのデザインパターン</anon>
    <anon>Ruby</anon>
  </categories>
  <description>概要 GoFのデザインパターンのChainOfResponsibilityパターンについて。 処理の責務をたらい回しにする。利点としては ・要求側は処理を呼び出す最初の相手だけ知っていれば良い ・処理の連鎖の修正が容易 ・各自の処理に専念できる欠点としては ・遅いこと 登場人物 Handler = 抽象取扱者 ConcreteHandler = 具象取扱者 Client = 利用者 UML 実装サンプル サンプル概要 Javaのクラスを自動生成したいとします。 利用者がクラス名を渡すと、コードジェネレーターはクラスの名前を元に 処理対象を取り扱う取扱者を判断して責務をたらい回しにします。 取扱…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftbpgr.hatenablog.com%2Fentry%2F20120225%2F1330191761&quot; title=&quot;RubyでChainOfResponsibilityパターン - Tbpgr 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://cdn-ak.f.st-hatena.com/images/fotolife/t/tbpg/20120226/20120226024148.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-02-25 02:42:41</published>
  <title>RubyでChainOfResponsibilityパターン</title>
  <type>rich</type>
  <url>https://tbpgr.hatenablog.com/entry/20120225/1330191761</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
