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

* lib/complex.rb: remove Math first before overwriting by CMath.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2008-04-08 02:01:07 +00:00
parent 1dcbd6921e
commit 298d20c25b
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Tue Apr 8 11:00:14 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/complex.rb: remove Math first before overwriting by CMath.
Tue Apr 8 10:34:10 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* load.c (rb_require_safe): should check fname path after $SAFE is

View file

@ -1,3 +1,4 @@
require 'cmath'
Object.instance_eval{remove_const :Math}
Math = CMath