Using to_enum with methods that take a block
This post describes how to turn methods that use blocks into enumerators using the to_enum method and why this would be useful. https://rossta.net/blog/everything-is-enumerated.html
This post describes how to turn methods that use blocks into enumerators using the to_enum method and why this would be useful. https://rossta.net/blog/everything-is-enumerated.html
Post a comment