Endless method - a quick intro
The endless method was added to Ruby version 3.0 in 2020. In a previous article, I wrote about its history and presented an example of how it was used to refactor a piece of code. Now I am going to explore some use cases.
Here is how it is described ...
allaboutcoding.ghinda.com7 min read