I’m writing a C extension, one of the classes I define can only be
instantiated via a defined ‘get_instance’ singleton method. This method
only ever return one instance, that is, successive calls will always
exactly the same ruby object.
My problem is that someone could still call ‘new’ on the class. I’d
remove that possibility by making ‘new’ private. Unfortunately I can’t
life of me work out how.
Any help on this subject will be much appreciated. - Tom