{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flibera-softvaro-dev.hatenadiary.org%2Fentry%2F20110515%2F1305471512\" title=\" \u7d9a\uff1a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30a8\u30f3\u30b8\u30f3Tenjin\u3092\u4f7f\u3063\u3066\u307f\u308b - \u300e\u9053\u300f\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"provider_name":"Hatena Blog","type":"rich","provider_url":"https://hatena.blog","height":"190","published":"2011-05-15 23:58:32","categories":["ruby","sinatra"],"version":"1.0","width":"100%","author_url":"https://blog.hatena.ne.jp/libera-softvaro/","title":" \u7d9a\uff1a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30a8\u30f3\u30b8\u30f3Tenjin\u3092\u4f7f\u3063\u3066\u307f\u308b","blog_url":"https://libera-softvaro-dev.hatenadiary.org/","author_name":"libera-softvaro","blog_title":"\u300e\u9053\u300f","description":"Tenjin::ContextHelper\u3092\u4f7f\u3063\u305f\u3089\u3001\u3044\u3061\u3044\u3061\u5024\u3092\u6e21\u3055\u306a\u304f\u3066\u3088\u3044\u306e\u3067\u3061\u3087\u3063\u3068\u4fbf\u5229\u3002main.rb\uff1a require 'sinatra/base' require 'tenjin' class MyEngine < Tenjin::Engine def initialize(path, line, options) @template_path = path super({}) end def render(app, locals, &block) super(@template_path, app) end end Tilt.register :rbhtml, MyEngine\u2026","url":"https://libera-softvaro-dev.hatenadiary.org/entry/20110515/1305471512"}