1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/complex.rb
matz 298d20c25b * 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
2008-04-08 02:01:07 +00:00

4 lines
71 B
Ruby

require 'cmath'
Object.instance_eval{remove_const :Math}
Math = CMath