зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
4dd0e26727
Коммит
562c42a668
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Nov 20 10:18:22 2011 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* lib/set.rb (SortedSet.setup): don't remove old_init. The remove
|
||||||
|
makes the warning prevention fragile. [ruby-dev:44892]
|
||||||
|
|
||||||
Sun Nov 20 04:01:45 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sun Nov 20 04:01:45 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* Makefile.in (enc/unicode/name2ctype.h): remove duplicated
|
* Makefile.in (enc/unicode/name2ctype.h): remove duplicated
|
||||||
|
|
|
@ -525,7 +525,6 @@ class SortedSet < Set
|
||||||
module_eval {
|
module_eval {
|
||||||
# a hack to shut up warning
|
# a hack to shut up warning
|
||||||
alias old_init initialize
|
alias old_init initialize
|
||||||
remove_method :old_init
|
|
||||||
}
|
}
|
||||||
begin
|
begin
|
||||||
require 'rbtree'
|
require 'rbtree'
|
||||||
|
|
Загрузка…
Ссылка в новой задаче