{"type":"rich","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2014%2F06%2F20%2F230425\" title=\"Enumtator\u3092\u4e00\u500b\u3060\u3051\u56de\u3059\u3068\u304d\u306fnext - Bye Bye Moore\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"Bye Bye Moore","blog_url":"https://shuzo-kino.hateblo.jp/","width":"100%","url":"https://shuzo-kino.hateblo.jp/entry/2014/06/20/230425","image_url":null,"author_url":"https://blog.hatena.ne.jp/shuzo_kino/","description":"enum = (1..7).each_cons(6) #=> #<Enumerator: 1..7:each_cons(6)> > enum.next #=> [1, 2, 3, 4, 5, 6] > enum.next #=> [2, 3, 4, 5, 6, 7] \u672b\u5c3e\u306b\u9054\u3059\u308b\u3068\u3001\u30a8\u30e9\u30fc\u3092\u5410\u304d\u307e\u3059\u3002 > enum.next #=>StopIteration: iteration reached an end \u3053\u308c\u306fenumratable\u30e1\u30bd\u30c3\u30c9\u3067\u3042\u308beach\u3068cycle\u306e\u7279\u6a29\u3067\u3059\u3002http://www.sitepoint.com/guide-ruby-collections-iii-enum\u2026","provider_url":"https://hatena.blog","published":"2014-06-20 23:04:25","provider_name":"Hatena Blog","height":"190","author_name":"shuzo_kino","title":"Enumtator\u3092\u4e00\u500b\u3060\u3051\u56de\u3059\u3068\u304d\u306fnext","categories":["ruby"]}