Why is this a global variable (`$`) instead of an instance variable (`@`)?