Episode #227: Multiline Memoize

Sometimes you need to treat multiple Ruby statements as if they were a single expression, but you don't want to create a whole new method for it. Ruby has a syntax for this, but it's surprisingly little-known. In this episode you'll learn how to apply this Ruby idiom, using the practical example of memoizing a method.

This page is just for members. Sign in or subscribe to gain access!