method

duplicable?

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

Singleton instances are not duplicable:

Class.new.include(Singleton).instance.dup # TypeError (can't dup instance of singleton
Show source
Register or log in to add new notes.