From 72b6d62ce9546a5fb4b04b99bd10578297748171 Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 8 Apr 2008 02:01:07 +0000 Subject: * lib/complex.rb: remove Math first before overwriting by CMath. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/complex.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/complex.rb b/lib/complex.rb index c5fbb36a4..0e88dd5f4 100644 --- a/lib/complex.rb +++ b/lib/complex.rb @@ -1,3 +1,4 @@ require 'cmath' +Object.instance_eval{remove_const :Math} Math = CMath -- cgit