{"description":"Ruby 1.9\u3067\u5c0e\u5165\u3055\u308c\u305fObject#tap\u306fRuby 1.8\u3067\u30821.8.7\u304b\u3089\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002 tap\u30e1\u30bd\u30c3\u30c9\u3068\u306f\u4f55\u304b\u3068\u3044\u3046\u3068\u3001\u81ea\u5206\u81ea\u8eab\u306b\u30d6\u30ed\u30c3\u30af\u3092\u4f5c\u7528\u3055\u305b\u3066\u81ea\u5206\u81ea\u8eab\u3092\u8fd4\u3059\u3060\u3051\u306e\u30e1\u30bd\u30c3\u30c9\u3060\u3002\u3064\u307e\u308a\u526f\u4f5c\u7528\u5c02\u9580\u30e1\u30bd\u30c3\u30c9\u3002\u5b9a\u7fa9\u306f\u3044\u305f\u3063\u3066\u7c21\u5358\u3001\u30b3\u30ec\u3002 class Object def tap yield(self) self end end \u305f\u3068\u3048\u3070\u30011\u301c4\u306e\u4e8c\u4e57\u306e\u3046\u306110\u4ee5\u4e0a\u306e\u3082\u306e\u3092\u6c42\u3081\u305f\u3044\u3093\u3060\u3051\u3069\u3001\u30c7\u30d0\u30c3\u30b0\u6642\u3068\u304b\u3067\u9014\u4e2d\u7d4c\u904e\u3067\u3042\u308b1\u301c4\u306e\u4e8c\u4e57\u3092\u8868\u793a\u3057\u3066\u307b\u3057\u3044\u306a\u3093\u3066\u5834\u5408\u306f\u3053\u3093\u306a\u611f\u3058\u306b\u3002\u3044\u3089\u306a\u304f\u306a\u3063\u305f\u3089tap\u306e\u90e8\u5206\u3092\u6d88\u305b\u3070\u3044\u3044\u3002\u697d\u30c1\u30f3\u3002 ary = [1, 2, 3, 4] ary.map{|\u2026","blog_title":"http://rubikitch.com/\u306b\u79fb\u8ee2\u3057\u307e\u3057\u305f","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frubikitch.hatenadiary.org%2Fentry%2F20080502%2Ftap\" title=\"tap\u304b\u308f\u3044\u3044\u3088tap - http://rubikitch.com/\u306b\u79fb\u8ee2\u3057\u307e\u3057\u305f\" 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,"categories":["ruby"],"width":"100%","author_url":"https://blog.hatena.ne.jp/rubikitch/","title":"tap\u304b\u308f\u3044\u3044\u3088tap","type":"rich","url":"https://rubikitch.hatenadiary.org/entry/20080502/tap","blog_url":"https://rubikitch.hatenadiary.org/","height":"190","provider_url":"https://hatena.blog","author_name":"rubikitch","provider_name":"Hatena Blog","published":"2008-05-02 00:00:00"}