Articles by Vikrant Patel

Ruby 3.1 adds Class#descendants

With Ruby 3.1, we can use `Class#descendants` to yield the classes that have been directly or indirectly derived from a specific class.