End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Singleton.included
included(klass)
lib/singleton.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/singleton.rb, line 162
def included(klass)
super
klass.private_class_method :new, :allocate
klass.extend SingletonClassMethods
Singleton.__init__(klass)
end
No documentation available