{"categories":["Ruby","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomotaka-ito.hatenadiary.org%2Fentry%2F20110119%2F1295410594\" title=\"\u30ea\u30a2\u30af\u30c6\u30a3\u30d6\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 - tomotaka-ito\u306e\u65e5\u8a18\" 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,"type":"rich","version":"1.0","width":"100%","author_name":"tomotaka-ito","provider_url":"https://hatena.blog","title":"\u30ea\u30a2\u30af\u30c6\u30a3\u30d6\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","blog_url":"https://tomotaka-ito.hatenadiary.org/","description":"class ReactiveValue def initialize(&proc) @proc = proc end def value return @proc.call end end a = 1 b = 2 c = ReactiveValue.new{ a + b } p c.value #=> 3 a = 2 p c.value #=> 4 \u3053\u3046\u3044\u3046\u3053\u3068\u306a\u3093\u3060\u308d\u3046\u304b\u3002","url":"https://tomotaka-ito.hatenadiary.org/entry/20110119/1295410594","blog_title":"tomotaka-ito\u306e\u65e5\u8a18","height":"190","author_url":"https://blog.hatena.ne.jp/tomotaka-ito/","provider_name":"Hatena Blog","published":"2011-01-19 13:16:34"}