diff options
| author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-16 15:18:58 +0000 |
|---|---|---|
| committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-16 15:18:58 +0000 |
| commit | 6b36781f0299cda260b3bc2f576023511a3842a4 (patch) | |
| tree | cf4f58798a88888861c6af3dce49876adf4a28e6 /lib/complex.rb | |
| parent | 8f1e7d8ba07cee4e8d1ecaf4155091964aa0d9f1 (diff) | |
| download | ruby-6b36781f0299cda260b3bc2f576023511a3842a4.tar.gz ruby-6b36781f0299cda260b3bc2f576023511a3842a4.tar.xz ruby-6b36781f0299cda260b3bc2f576023511a3842a4.zip | |
* lib/complex.rb, lib/rational.rb: added warning messages.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/complex.rb')
| -rw-r--r-- | lib/complex.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/complex.rb b/lib/complex.rb index c7c1a03b9..0627862cb 100644 --- a/lib/complex.rb +++ b/lib/complex.rb @@ -1,5 +1,7 @@ # :enddoc: +warn 'lib/complex.rb is deprecated' + require 'cmath' unless defined?(Math.exp!) |
