{"categories":[],"provider_name":"Hatena Blog","width":"100%","type":"rich","blog_url":"https://ganmacs.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fganmacs.hatenablog.com%2Fentry%2F2015%2F07%2F31%2F154255\" title=\"Ruby\u3067\u30d7\u30e9\u30b0\u30a4\u30f3\u6a5f\u69cb\u3092\u4f5c\u308b - memo-mode\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Ruby\u3067\u30d7\u30e9\u30b0\u30a4\u30f3\u6a5f\u69cb\u3092\u4f5c\u308b","description":"rack/rack \u00b7 GitHub \u306e\u30b3\u30fc\u30c9\u8aad\u3093\u3067\u3066\u30d7\u30e9\u30b0\u30a4\u30f3(Rack\u306e\u5834\u5408\u306f\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306b\u3069\u306e\u30b5\u30fc\u30d0\u3092\u4f7f\u3046\u304b)\u306e\u51e6\u7406\u304c\u3042\u3063\u305f\u306e\u3067\u53d6\u308a\u51fa\u3057\u3066\u66f8\u3044\u3066\u307f\u305f\uff0e Ruby\u3067\u306f\u30af\u30e9\u30b9\u306f\u5b9a\u6570\u306a\u306e\u3067Handler\u3063\u3066\u3044\u3046\u540d\u524d\u7a7a\u9593\u306e\u4e2d\u306e\u5b9a\u6570\u3092\u63a2\u3059\u3060\u3051\u3067\u3044\u3044\uff0e # sample1.rb module Handler class Base def call run end def run raise NotImplementedError end end class PlugA < Base def run p \"called in A\" end end end # sample2.rb module Han\u2026","author_name":"ganmacs","url":"https://ganmacs.hatenablog.com/entry/2015/07/31/154255","blog_title":"memo-mode","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/ganmacs/","version":"1.0","image_url":null,"published":"2015-07-31 15:42:55","height":"190"}