class
SyncEnumerator
v1_8_6_287 -
Show latest stable
- Superclass: Object
SyncEnumerator creates an Enumerable object from multiple Enumerable objects and enumerates them synchronously.
Example
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(', ') }
Included modules
- Enumerable
Files
- lib/generator.rb