Categories: None [Edit]

sync_enum

https://rubygems.org/gems/sync_enum
https://github.com/brucetesar/sync_enum
Iterate over multiple enumerators in parallel, using the external interface based on the #next method. Each call to #next returns an array, containing the next element for each of the enumerators. A StopIteration exception is raised as soon as any of the enumerators runs out of elements. SyncEnum differs from the standard library's REXML::SyncEnumerator in its use of the #next external iterator interface, while REXML::SyncEnumerator uses an #each internal interator interface. The external interface is more convenient when you expect to end iteration before reaching the end of any of the enumerations, including cases where an enumerator generates an unending sequence.

Total

Ranking: 139,731 of 180,661
Downloads: 3,655

Daily

Ranking: 75,347 of 180,641
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,099,261,228bundler
16861,021,418rake
24771,574,086rspec
68418,700,275rubocop
165196,378,836launchy
201156,851,066rubocop-rspec
1,56814,571,822rubocop-rake

Owners

#GravatarHandle
1iconbrucetesar