yield_self
method and how it can be compared to Elixir's (and soon JavaScript's?) pipe operator.yield_self
was a thing. In this post, Derek takes us through a real-world use case for it. I agree that the final code is more readable than where it started. Good stuff 👌