Noel Rappin Writes Here

2025

Better Know A Ruby Thing: Singleton Classes

It is time to Better Know what is perhaps the Ruby-iest of Ruby things, a feature that didn’t even have an official name for several years, despite being critical to Ruby’s Object-Oriented semantics. (It only just now occurs to me that there was no official name in English, I wonder what the Japanese name for it was…). Yes, it’s the singleton class. Which isn’t really a singleton. Or really a class.



Copyright 2025 Noel Rappin

All opinions and thoughts expressed or shared in this article or post are my own and are independent of and should not be attributed to my current employer, Chime Financial, Inc., or its subsidiaries.