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 iterator 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: 127,058 of 195,929
Downloads: 5,399

Daily

Ranking: 161,553 of 195,909
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,649,375,367bundler
81,389,589,669rake
291,008,615,016rspec
57731,341,170rubocop
177295,598,894launchy
184289,181,425rubocop-rspec
1,13742,545,313rubocop-rake

Owners

#GravatarHandle
1iconbrucetesar