Singleton 的執行個體不具備可複製性
Singleton
Class.new.include(Singleton).instance.dup # TypeError (can't dup instance of singleton
來源: 顯示 | 來自 GitHub
# File activesupport/lib/active_support/core_ext/object/duplicable.rb, line 66 def duplicable? false end