Ruby is all about giving coders choices. What if you could give users of your code the choice between positional or keyword arguments, or some mix of the two? Let's …
In the most fan-favorite RubyTapas episode of all time, you'll learn how using "barewords" is a powerful tool for decoupling names from the sources of information.
Now that you've learned how to obfuscate your code with Perl-style special variables, learn how to make it readable again!
Learn about one final category of Ruby's Perl-style special variables, and some guidelines for using them.
Learn about Ruby's Perl-style I/O special variables, and why they exist.
Some pointers on making your Ruby parameter defaults self-documenting.
Stop thinking of variables as boxes.
An in-depth guide to Ruby class variables, and when to use them.
Global settings can cause havoc when threads are introduced. Learn when and how to use Ruby's thread-local variables instead.