= private = protected
dup()
Raises a TypeError to prevent duping.
# File lib/singleton.rb, line 104 def dup raise TypeError, "can't dup instance of singleton #{self.class}" end