{"author_name":"Pyons","description":"100\u70b9\u4e2d40\u70b9\u3057\u304b\u53d6\u308c\u306a\u304b\u3063\u305f....orz \u554f1: Enumerator::Lazy class p (1..10).lazy.map{|num| num * 2 }.take(3).inject(0, &:+) \u3053\u306eQuita\u306e\u8a18\u4e8b\u304c\u975e\u5e38\u306b\u53c2\u8003\u306b\u306a\u308b\u3002 Enumerator\u3068Enumerator::Lazy\u306e\u9055\u3044 - Qiita lazy\u3092\u4ed8\u3051\u3066\u3044\u308b\u4ee5\u4e0a\u3001\u8a55\u4fa1\u306f\u5f8c\u306b\u7d9a\u304f\u30e1\u30bd\u30c3\u30c9\u304c\u547c\u3070\u308c\u3066\u304b\u3089\u306b\u306a\u308b\u3002 \u3069\u3093\u306a\u30e1\u30bd\u30c3\u30c9\u3067\u5f8c\u304b\u3089\u8a55\u4fa1\u304c\u5b9f\u65bd\u3055\u308c\u308b\u304b\u306f\u3001\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u8003\u306b\u306b\u3059\u308c\u3070\u3088\u3044\u3002 class Enumerator::Lazy (Ruby 2.6.0) lazy\u306bmap\u3092\u3064\u306a\u3052\u305f\u3053\u3068\u3067\u3001\u2026","blog_url":"https://pyons.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpyons.hatenablog.com%2Fentry%2F2019%2F11%2F20%2Fwrong_answers1\" title=\" REx\u6a21\u64ec\u8a66\u9a13\u8aa4\u7b54\u4e00\u89a7 \u305d\u306e\uff11 - Pyons Tech Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Ruby Gold \u5bfe\u7b56"],"provider_name":"Hatena Blog","blog_title":"Pyons Tech Blog","image_url":null,"published":"2019-11-20 16:42:27","width":"100%","provider_url":"https://hatena.blog","height":"190","url":"https://pyons.hatenablog.com/entry/2019/11/20/wrong_answers1","title":" REx\u6a21\u64ec\u8a66\u9a13\u8aa4\u7b54\u4e00\u89a7 \u305d\u306e\uff11","author_url":"https://blog.hatena.ne.jp/Pyons/","type":"rich","version":"1.0"}