{"blog_url":"https://mametter.hatenablog.com/","blog_title":"\u307e\u3081\u3081\u3082","provider_name":"Hatena Blog","author_name":"ku-ma-me","title":" Re: \u7121\u9650\u30aa\u30d6\u7121\u9650","version":"1.0","type":"rich","url":"https://mametter.hatenablog.com/entry/20071204/p1","provider_url":"https://hatena.blog","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmametter.hatenablog.com%2Fentry%2F20071204%2Fp1\" title=\" Re: \u7121\u9650\u30aa\u30d6\u7121\u9650 - \u307e\u3081\u3081\u3082\" 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,"description":"\u9806\u756a\u306f\u3069\u3046\u5909\u3048\u3066\u3082\u3044\u3044\u304b\u3089\u3001\u3068\u306b\u304b\u304f\u300e\u3069\u306e\u8981\u7d20\u3082\u3044\u3064\u304b\u306f\u51fa\u3066\u304f\u308b\uff08\u6709\u9650\u30b9\u30c6\u30c3\u30d7\u4ee5\u5185\u306b\u306f\u51fa\u3066\u304f\u308b\uff09\u300f\u3088\u3046\u306b\u5217\u6319\u3057\u305f\u30ea\u30b9\u30c8\u3092\u8fd4\u3059\u95a2\u6570\u3092\u4f5c\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002 \u7121\u9650\u30aa\u30d6\u7121\u9650 \u4f55\u304b\u8a2d\u554f\u306b\u88cf\u306e\u610f\u56f3\u304c\u3042\u308a\u305d\u3046\u306a\u6c17\u914d\u3092\u611f\u3058\u307e\u3059\u304c\u3001\u3042\u3063\u3055\u308a\u91e3\u3089\u308c\u307e\u3059\u3002\u7121\u9650\u30ea\u30b9\u30c8\u306e\u7121\u9650\u30ea\u30b9\u30c8\u9650\u5b9a\u306a\u3089\u308f\u308a\u3068\u30b7\u30f3\u30d7\u30eb\u3002 def iflatten(g) a = [] loop { a << g.next; a.each {|a| yield a.next } } end \u3067\u3082\u3053\u308c\u306f\u6709\u9650\u30ea\u30b9\u30c8\u304c\u6df7\u3056\u308b\u3068\u3046\u307e\u304f\u52d5\u304d\u307e\u305b\u3093\u3002\u6709\u9650\u30ea\u30b9\u30c8\u5bfe\u5fdc\u7248\u306f\u306a\u3093\u3060\u304b\u8907\u96d1\u3002 def iflatten(g) a = [] begin a << g.next r\u2026","categories":["Ruby"],"published":"2007-12-04 00:00:00","author_url":"https://blog.hatena.ne.jp/ku-ma-me/","width":"100%"}