The each-with-flag library provides Enumerable methods "each_with_flag" and "each_with_index_with_flag" that expand standard methods "each" and "each_with_index" adding to yield block flags of first, has previous, surrounded, has next and has last element.
Required Ruby Version
>= 0
Authors
Oleh Birjukov
Versions
-
0.1.0
-
source
- 0.1.0 source October 18, 2015 (7.5 KB)
-