summaryrefslogtreecommitdiff
path: root/lib/set.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-20 01:21:01 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-20 01:21:01 +0000
commit562c42a668ded49568e71d8af16576818babb97a (patch)
tree09bbf59656a0484e45a482e79bf991cde0758a5c /lib/set.rb
parent4dd0e267273be9f5703db1486c3a6865c00fe092 (diff)
* lib/set.rb (SortedSet.setup): don't remove old_init. The remove
makes the warning prevention fragile. [ruby-dev:44892] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/set.rb')
-rwxr-xr-xlib/set.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/set.rb b/lib/set.rb
index 8830342..ff0c0e6 100755
--- a/lib/set.rb
+++ b/lib/set.rb
@@ -525,7 +525,6 @@ class SortedSet < Set
module_eval {
# a hack to shut up warning
alias old_init initialize
- remove_method :old_init
}
begin
require 'rbtree'