{"published":"2009-02-16 02:57:36","blog_title":"\u9ad8\u898b\u77e5\u82f1\u306e\u304b\u3044\u306f\u3064\u306b\u3063\u3057(\u03b2)","url":"https://blog.onpu-tamago.net/entry/20090216/1234807056","width":"100%","type":"rich","height":"190","author_name":"TakamiChie","description":"Web\u30b5\u30a4\u30c8\u4f5c\u6210\u306e\u305f\u3081\u306bRuby\u3092\u52c9\u5f37\u4e2d\u3002lambda\u3068\u304b\u306e\u3063\u3051\u304b\u3089\u3044\u308d\u3044\u308d\u51fa\u3066\u304d\u3066\u307e\u3059\uff57\u2015\u2015\u3068\u308a\u3042\u3048\u305a\u3001\u4eca\u65e5\u899a\u3048\u305f\u3053\u3068\u306f\u3001lambda\u30e1\u30bd\u30c3\u30c9\u3067\u4f5c\u308bProc\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3001Object#method\u3067\u4f5c\u308bMethod\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6271\u3044\u306f\u9055\u3046\u307f\u305f\u3044\u3002\u524d\u8005\u3067\u4f5c\u3063\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092call\u3057\u3066\u3001\u3055\u3089\u306b\u30d6\u30ed\u30c3\u30af\u3092\u6e21\u3059\u3068\u6012\u3089\u308c\u307e\u3059\u304c\u3001\u5f8c\u8005\u306f\u6012\u3089\u308c\u306a\u304b\u3063\u305f\u3002 mod_if = lambda{|args| p args yield 10 yield 20 yield 30 } mod_if.call([\"a\", \"b\", \"c\"]){|v| p v } \u3053\u306e\u3070\u3042\u3044\u3001mod_if.call\u3092\u547c\u3093\u3060\u6642\u70b9\u3067Loc\u2026","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"provider_name":"Hatena Blog","title":"Ruby\u52c9\u5f37\u4e2d","image_url":null,"provider_url":"https://hatena.blog","blog_url":"https://blog.onpu-tamago.net/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.onpu-tamago.net%2Fentry%2F20090216%2F1234807056\" title=\"Ruby\u52c9\u5f37\u4e2d - \u9ad8\u898b\u77e5\u82f1\u306e\u304b\u3044\u306f\u3064\u306b\u3063\u3057(\u03b2)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","author_url":"https://blog.hatena.ne.jp/TakamiChie/"}