{"url":"https://cortyuming.hateblo.jp/entry/20130205/p1","blog_url":"https://cortyuming.hateblo.jp/","type":"rich","height":"190","description":"(Ruby1.9.3) def foo(a) yield a end puts foo(10) {|x| x * 2} # >> 20 def bar(option) yield option end puts bar(a: 2, b: 3) { |o| o[:a] + o[:b] + 10 } # >> 15","provider_url":"https://hatena.blog","width":"100%","published":"2013-02-05 00:00:03","version":"1.0","provider_name":"Hatena Blog","author_name":"CortYuming","author_url":"https://blog.hatena.ne.jp/CortYuming/","title":"Ruby\u306e\u30d6\u30ed\u30c3\u30af\u306e\u30e1\u30e2","blog_title":"\u724c\u8a9e\u5099\u5fd8\u9332 -pygo","categories":["Ruby"],"image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcortyuming.hateblo.jp%2Fentry%2F20130205%2Fp1\" title=\"Ruby\u306e\u30d6\u30ed\u30c3\u30af\u306e\u30e1\u30e2 - \u724c\u8a9e\u5099\u5fd8\u9332 -pygo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}