Constants, globals, locals, instance variables, methods... Ruby has a lot of namespaces. Let's learn about a Ruby power tool for reflecting on these names no matter what space they come …
In a language full of expressive little shorthands, it's time to meet a new idiom! This one makes simple blocks even more concise.
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.