method

included

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: Singleton
included(klass) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/singleton.rb, line 161
    def included(klass)
      super
      klass.private_class_method :new, :allocate
      klass.extend SingletonClassMethods
      Singleton.__init__(klass)
    end
Register or log in to add new notes.