method

included

Importance_0
v1_9_3_392 - Show latest stable - 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.