{"blog_url":"https://shonen.hateblo.jp/","provider_name":"Hatena Blog","height":"190","blog_title":"shonen.hateblo.jp","width":"100%","url":"https://shonen.hateblo.jp/entry/2019/03/08/225409","categories":["Ruby"],"provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshonen.hateblo.jp%2Fentry%2F2019%2F03%2F08%2F225409\" title=\"\u6a19\u6e96\u5165\u529b\u304b\u3089\u30b9\u30da\u30fc\u30b9\u533a\u5207\u308a\u3067\u5024\u3092\u62fe\u3046Enumerable\u306a\u4f55\u304b - shonen.hateblo.jp\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","published":"2019-03-08 22:54:09","image_url":null,"type":"rich","author_url":"https://blog.hatena.ne.jp/m_buyoh/","author_name":"m_buyoh","description":"\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u4e0e\u3048\u3089\u308c\u308b\u5165\u529b\u306f\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u30fb\u6539\u884c\u306e\u4e21\u65b9\u3067\u533a\u5207\u3089\u308c\u308b\u3053\u3068\u304c\u591a\u3044\uff0e \u305d\u3053\u3067\uff0c\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u30fb\u6539\u884c\u3067\u533a\u5207\u3063\u3066\u5024\u3092\u62fe\u3063\u3066\u304f\u308bEnumerable\u306a\u30af\u30e9\u30b9\u3092\u66f8\u3044\u305f\uff0e class In include Enumerable def initialize(io) @io = io @buff = [] self end def shift return @buff.shift unless @buff.empty? return nil unless l = @io.take(1).first return (@buff = l.chomp.split).shift end def li\u2026","title":"\u6a19\u6e96\u5165\u529b\u304b\u3089\u30b9\u30da\u30fc\u30b9\u533a\u5207\u308a\u3067\u5024\u3092\u62fe\u3046Enumerable\u306a\u4f55\u304b"}