type=class
superclass=Object
included=Enumerable
extended=
library=generator

ʣ [[c:Enumerable]] ֥Ȥ¹Ԥ yield 뤿Υ饹Ǥ

:

  require 'generator'
  
  s = SyncEnumerator.new([1,2,3], ['a', 'b', 'c'])
  
  # Yields [1, 'a'], [2, 'b'], and [3,'c']
  s.each { |row| puts row.join(', ') }
