module Singleton::SingletonClassProperties
Public Class Methods
# 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
# 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