End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Singleton.append_features
append_features(mod)
lib/singleton.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/singleton.rb, line 154
def append_features(mod)
# help out people counting on transitive mixins
unless mod.instance_of?(Class)
raise TypeError, "Inclusion of the OO-Singleton module in module #{mod}"
end
super
end
No documentation available