{"width":"100%","image_url":null,"title":"Ruby \u3067 Generator \u306e\u5b9f\u88c5","version":"1.0","height":"190","description":"Python \u306b Generator \u3068\u3044\u3046\u306e\u304c\u3042\u308a\u307e\u3059\u3002Ruby \u3067\u306f Enumerator \u3067\u307b\u307c\u540c\u3058\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u5f15\u6570\u306e\u4e0e\u3048\u65b9\u304c\u3044\u307e\u3072\u3068\u3064\u3088\u304f\u308f\u304b\u308a\u307e\u305b\u3093\u3002\u3067\u3068\u3044\u3046\u308f\u3051\u3067\u3082\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u52c9\u5f37\u306e\u305f\u3081\u306b\u9811\u5f35\u3063\u3066 Fiber \u3067\u5b9f\u88c5\u3057\u3066\u307f\u307e\u3057\u305f\u3002Generator#args \u3067\u5f15\u6570\u3092\u4e0e\u3048\u307e\u3059\u3002\u8907\u6570\u306e\u5f15\u6570\u3092\u53d6\u308c\u308b\u306e\u304c\u8003\u3048\u305f\u3068\u3053\u308d\u3067\u3059\u3002Genarator#next \u304c\u7d42\u7aef\u306b\u9054\u3059\u308b\u3068\u3001StopIteration \u4f8b\u5916\u3092\u767a\u751f\u3055\u305b\u307e\u3059\u3002Kernel#loop \u306f StopIteration \u3092\u6355\u6349\u3057\u307e\u3059\u3002 Genarator#each \u3092\u5b9f\u88c5\u3057\u3066\u3044\u308b\u306e\u3067\u3001Enumerable \u30e2\u30b8\u30e5\u30fc\u30eb\u3092 incl\u2026","blog_title":"Camera Obscura","provider_name":"Hatena Blog","blog_url":"https://obelisk.hatenablog.com/","published":"2016-09-29 01:03:30","author_name":"obelisk2","author_url":"https://blog.hatena.ne.jp/obelisk2/","provider_url":"https://hatena.blog","categories":["Ruby"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobelisk.hatenablog.com%2Fentry%2F2016%2F09%2F29%2F010330\" title=\"Ruby \u3067 Generator \u306e\u5b9f\u88c5 - Camera Obscura\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","url":"https://obelisk.hatenablog.com/entry/2016/09/29/010330"}