mruby-set: remove __equal_fallback that no longer used

This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-06-20 09:39:35 +09:00
parent a2339a7fde
commit abae5a5ff5
-9
View File
@@ -33,15 +33,6 @@ class Set
n
end
# Helper method for complex equality checks
def __equal_fallback(other)
if other.is_a?(self.class) && self.size == other.size
other.all? { |o| include?(o) }
else
false
end
end
def flatten_merge(set, seen = Set.new)
seen.add(set.object_id)
set.each { |e|