Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Singleton.included
included(klass)
lib/singleton.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/singleton.rb, line 157
def included(klass)
super
klass.private_class_method :new, :allocate
klass.extend SingletonClassMethods
Singleton.__init__(klass)
end
No documentation available