Extends standard Enumerator with a "enumerate_yields" method. Just add a one-liner piece of code to your yield method and your method can be called with or without a block. Recursion and some meta-magic greatly reduce coding.
Required Ruby Version
>= 0
Authors
Bryan Colvin
Versions
- 0.1.0 December 07, 2017 (8.5 KB)