Episode #012: #fetch for Defaults

How to use Hash#fetch to provide defaults for missing keys, and why you might prefer that to other techniques for defaulting values.

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