In today's special guest episode, Tom Stuart shows us the benefits of using enumerators as immutable collections.
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 …