1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/set.rb (SortedSet::setup): a hack to shut up warning.

[ruby-talk:132866]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2005-03-04 02:29:33 +00:00
parent 437fb244f4
commit d43b7e03ef
2 changed files with 10 additions and 0 deletions

View file

@ -440,6 +440,11 @@ class SortedSet < Set
def setup # :nodoc:
@@setup and return
module_eval {
# a hack to shut up warning
alias old_init initialize
remove_method :old_init
}
begin
require 'rbtree'