RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Wait... Ruby Enumerators can receive values too?

https://rubystacknews.com/2026/06/15/i-have-written-ruby-for-years-and-just-discovered-enumeratorfeed/

Enumerator#feed allows an Enumerator to pause, accept input from the caller, and resume execution. One of those Ruby features that makes you say: “I never knew that existed.”

Ruby #RubyOnRails #Programming

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