From: "mattn (Yasuhiro Matsumoto)" Date: 2013-09-09T17:29:39+09:00 Subject: [ruby-core:57086] [ruby-trunk - Feature #8572] Fiber should be a Enumerable Issue #8572 has been updated by mattn (Yasuhiro Matsumoto). I think most of use case of using Fiber is something like getting stream data or catching-up draining entities. Maybe we won't use Fiber for getting limited resources. For example, If Fiber has each, I guess that we will be possible to write twitter client elegant. :) f = Fiber.new { # getting twitter status loop { Fiber.yield tweet_status } } f.each do |x| puts "#{x.screen_name}: #{x.text}" end ---------------------------------------- Feature #8572: Fiber should be a Enumerable https://bugs.ruby-lang.org/issues/8572#change-41697 Author: mattn (Yasuhiro Matsumoto) Status: Open Priority: Normal Assignee: ko1 (Koichi Sasada) Category: Target version: I'm thinking that Fiber should be a Enumerable. it's easy and reasonable to implement. https://gist.github.com/mattn/5874949 -- http://bugs.ruby-lang.org/