Continuing our discussion of the next keyword, today we'll look at some advanced usages.
Today's episode introduces the next keyword, and how we can use it to control the result of loop iterations.
In today's episode, we use a Ruby keyword to make a loop more flexible in the face of failures.
In this episode we'll see how Ruby lets us retry operations without resorting to a loop.
We've seen ranges and upto/downto methods. Today we take a look at a generalized way to step through arbitrary, potentially infinite number sequences.
Sometimes a range doesn't cut it.
In today's episode, we'll compare two methods for getting to the body of an email: one imperative; one functional; and both idiomatic Ruby.
Newer arrivals to Ruby sometimes wonder when to use #each, and when to use 'for'. Today, a detailed explanation of how they differ, and an opinion on when to use …
Queue, somewhat surprisingly, is not enumerable. Which is all the excuse we need to have some more fun with the Enumerator class, in today's episode.
A refactoring episode, showing how to replace exceptions-as-flow-control with the "catch" and "throw" methods.