Sooner or later you'll want to subclass Array. This episode looks at why that's a bad idea, and presents an alternative.
In this episode, we explore command/query separation by looking at what happens to unit tests when the separation breaks down.
How to find out if there is a super method to be called, and other tricks for using super within a module.
In this final installment on the #fetch method we look at #fetch beyond Hash; #fetch with nested hashes; re-using default blocks; and more.
A dive into some of the dark corners of the super keyword.
Sometimes one instance is all you need.
How to use Hash#fetch to provide defaults for missing keys, and why you might prefer that to other techniques for defaulting values.
How to reliably discover a user's home directory.