module Singleton::SingletonClassProperties

Public Class Methods

extended (c)
# File lib/singleton.rb, line 157
def self.extended(c)
  # extending an object with Singleton is a bad idea
  c.singleton_class.send(:undef_method, :extend_object)
end
included (c)
# File lib/singleton.rb, line 152
def self.included(c)
  # extending an object with Singleton is a bad idea
  c.undef_method :extend_object
end