Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Singleton.append_features
append_features(mod)
lib/singleton.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/singleton.rb, line 149
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