{"type":"rich","url":"https://kwatch.hatenadiary.org/entry/20080425/1209131860","author_name":"kwatch","published":"2008-04-25 22:57:40","blog_title":"k\u306a\u3093\u3068\u304b\u306e\u65e5\u8a18","title":" \u30d6\u30ed\u30c3\u30af\u30d1\u30e9\u30e1\u30fc\u30bf\u4ee3\u5165\u306f\u591a\u91cd\u4ee3\u5165\u306e\u30eb\u30fc\u30eb\u304c\u9069\u7528\u3055\u308c\u307e\u3059","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkwatch.hatenadiary.org%2Fentry%2F20080425%2F1209131860\" title=\" \u30d6\u30ed\u30c3\u30af\u30d1\u30e9\u30e1\u30fc\u30bf\u4ee3\u5165\u306f\u591a\u91cd\u4ee3\u5165\u306e\u30eb\u30fc\u30eb\u304c\u9069\u7528\u3055\u308c\u307e\u3059 - k\u306a\u3093\u3068\u304b\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>","height":"190","provider_name":"Hatena Blog","categories":["ruby"],"description":"\u30d6\u30ed\u30c3\u30af\u30d1\u30e9\u30e1\u30fc\u30bf\u4ee3\u5165\u306f\u591a\u91cd\u4ee3\u5165\u306e\u30eb\u30fc\u30eb\u304c\u9069\u7528\u3055\u308c\u307e\u3059\u3002 a, (b, c) = [1, [2,3]] [a, b, c] # => [1, 2, 3] \uff3bruby-list:44838\uff3dRe:\u8a08\u7b97\u3059\u308b\u30cf\u30c3\u30b7\u30e5 \u306a\u3093\u3068! \u9577\u5e74 Ruby \u3092\u4f7f\u3063\u3066\u304d\u305f\u3051\u3069\u5168\u7136\u77e5\u3089\u3093\u304b\u3063\u305f\u3002 \u3082\u3057\u304b\u3057\u3066\u3001\u4eca\u307e\u3067 hash.inject('') {|s,t| s << \"#{t[0]}:#{t[1]}\\n\" }\u3068\u66f8\u3044\u3066\u305f\u306e\u306f hash.inject('') {|s,(k,v)| s << \"#{k}:#{v}\\n\" }\u3068\u304b\u66f8\u3051\u3061\u3083\u3046\u3093\u3067\u3059\u304b?!\u3044\u3084\u30fc\u3093rubikitch\u6c0f++\u3060\u306a\u3002","version":"1.0","author_url":"https://blog.hatena.ne.jp/kwatch/","width":"100%","blog_url":"https://kwatch.hatenadiary.org/","image_url":null,"provider_url":"https://hatena.blog"}