ruby-changes:4435
From: ko1@a...
Date: Tue, 8 Apr 2008 11:01:24 +0900 (JST)
Subject: [ruby-changes:4435] matz - Ruby:r15926 (trunk): * lib/complex.rb: remove Math first before overwriting by CMath.
matz 2008-04-08 11:01:07 +0900 (Tue, 08 Apr 2008) New Revision: 15926 Modified files: trunk/ChangeLog trunk/lib/complex.rb Log: * lib/complex.rb: remove Math first before overwriting by CMath. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/complex.rb?r1=15926&r2=15925&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15926&r2=15925&diff_format=u Index: ChangeLog =================================================================== --- ChangeLog (revision 15925) +++ ChangeLog (revision 15926) @@ -1,3 +1,7 @@ +Tue Apr 8 11:00:14 2008 Yukihiro Matsumoto <matz@r...> + + * lib/complex.rb: remove Math first before overwriting by CMath. + Tue Apr 8 10:34:10 2008 Yukihiro Matsumoto <matz@r...> * load.c (rb_require_safe): should check fname path after $SAFE is Index: lib/complex.rb =================================================================== --- lib/complex.rb (revision 15925) +++ lib/complex.rb (revision 15926) @@ -1,3 +1,4 @@ require 'cmath' +Object.instance_eval{remove_const :Math} Math = CMath -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/