How to make the class constructor private in Ruby? March 12, 2023 by Tarik Try this: class A private_class_method :new end More on APIDock