diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-08 02:01:07 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-08 02:01:07 +0000 |
commit | 298d20c25bb2cbd9b9b26180d971f6c4463c3b85 (patch) | |
tree | ce78052c8bc319dd4c0a15fb4bcd875a17fd7144 /lib | |
parent | 1dcbd6921e21e7188dc24cdf37c9b5c07269c062 (diff) | |
download | ruby-298d20c25bb2cbd9b9b26180d971f6c4463c3b85.tar.gz |
* 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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/complex.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/complex.rb b/lib/complex.rb index c5fbb36a4a..0e88dd5f4f 100644 --- a/lib/complex.rb +++ b/lib/complex.rb @@ -1,3 +1,4 @@ require 'cmath' +Object.instance_eval{remove_const :Math} Math = CMath |