RubyFlow The Ruby and Rails community linklog

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

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in