aboutsummaryrefslogtreecommitdiffstats
path: root/lib/set.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/set.rb')
-rwxr-xr-xlib/set.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/set.rb b/lib/set.rb
index ff0c0e6e9e..d1e2a2e445 100755
--- a/lib/set.rb
+++ b/lib/set.rb
@@ -604,6 +604,10 @@ class SortedSet < Set
end
}
end
+ module_eval {
+ # a hack to shut up warning
+ remove_method :old_init
+ }
@@setup = true
end