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: 121,437 of 197,861
Downloads: 6,116

Daily

Ranking: 37,600 of 197,834
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,875,234,097bundler
81,447,561,113rake
291,033,456,311rspec
55765,806,718rubocop
179305,099,326launchy
181304,013,648rubocop-rspec
1,08746,568,108rubocop-rake

Owners

#GravatarHandle
1iconbrucetesar