Module: Singleton

Defined in:

Instance Method Summary collapse

Instance Method Details


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: # TypeError (can't dup instance of singleton


  • (false)

# File 'extend/object/duplicable.rb', line 68

def duplicable? = false