Categories: None [Edit]

status_enumerator

https://rubygems.org/gems/status_enumerator
https://github.com/Ktouth/status_enumerator
This class provides an enumeration function to have the object which I added tree information to in an argument. The instance receives an enumerable object and provides #each and #each_method. The #each method calls a block in an argument in own. The #each_method method calls the method of an object appointed own in an argument. I have the information of the object equal to the ancestors in own and front and back and hierarchy structure, and a block and the argument handed to a method maintain the state flag in the enumeration again. It is necessary to appoint the information about the descendant in the hierarchy structure in a block - a method explicitly. When the #into method receives an enumerable object, and a block is not exhibited, a block - a method is used recursively. This class provides a function to enumerate it, but it is not the object which it can enumerate.

Total

Ranking: 108,359 of 198,451
Downloads: 7,674

Daily

Ranking: 52,077 of 198,429
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,944,297,318bundler
291,040,602,616rspec
142374,293,654rdoc
3,6713,726,023rcov
4,4172,344,067jeweler

Owners

#GravatarHandle
1iconKtouth