In this series you've learned about Ruby's terse, Perl-style special variables for program state, I/O, and regular expression matching. You've seen how these variables can be handy in one-off command line scripts, as well as how they can render code unreadable. Today, you'll learn about a way to use all of these variables without sacrificing legibility.
This page is just for members. Sign in or subscribe to gain access!