From abae5a5ff5ac894ee60cf3c30d780a7027d48a49 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Fri, 20 Jun 2025 09:39:35 +0900 Subject: [PATCH] mruby-set: remove __equal_fallback that no longer used --- mrbgems/mruby-set/mrblib/set.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/mrbgems/mruby-set/mrblib/set.rb b/mrbgems/mruby-set/mrblib/set.rb index f15217348..92d458f9b 100644 --- a/mrbgems/mruby-set/mrblib/set.rb +++ b/mrbgems/mruby-set/mrblib/set.rb @@ -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|