method
duplicable?
v7.0.0 -
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
duplicable?()Singleton instances are not duplicable:
Class.new.include(Singleton).instance.dup # TypeError (can’t dup instance of singleton