Module: Singleton
- Defined in:
 - extend/object/duplicable.rb
 
Instance Method Summary collapse
- 
  
    
      #duplicable?  ⇒ false 
    
    
  
  
  
  
  
  
  
  private
  
    
Singleton instances are not duplicable:.
 
Instance Method Details
#duplicable? ⇒ false
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
Singleton instances are not duplicable:
Class.new.include(Singleton).instance.dup # TypeError (can't dup instance of singleton
  
      68  | 
    
      # File 'extend/object/duplicable.rb', line 68 def duplicable? = false  |