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