Issue #8572 has been updated by mattn (Yasuhiro Matsumoto).


=begin
ko1 (Koichi Sasada) wrote:
> Use case?

(({f = Fiber.new {
  Fiber.yield 3
  Fiber.yield 2
  Fiber.yield 1
  Fiber.yield 0
}

f.each do |x|
  puts x
end
=end
}))

For example, I want to do `each` for Fiber. But it can't
----------------------------------------
Feature #8572: Fiber should be a Enumerable
https://bugs.ruby-lang.org/issues/8572#change-41524

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/