method

duplicable?

v7.1.3.2 - Show latest stable - Class: Singleton
duplicable?()
public

Singleton instances are not duplicable:

Class.new.include(Singleton).instance.dup # TypeError (can't dup instance of singleton