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 | |
| 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')
| -rw-r--r-- | lib/README | 6 | ||||
| -rw-r--r-- | lib/complex.rb | 2 | ||||
| -rw-r--r-- | lib/rational.rb | 2 |
3 files changed, 7 insertions, 3 deletions
diff --git a/lib/README b/lib/README index ca236d34a..a8bb9c8d3 100644 --- a/lib/README +++ b/lib/README @@ -6,7 +6,7 @@ benchmark.rb a benchmark utility cgi.rb CGI support library cgi/session.rb CGI session class cmath.rb math support for complex numbers -complex.rb includes cmath and set complex arithemtic as default +complex.rb includes cmath and set complex arithemtic as default (obsolete) csv.rb CSV parser/generator date.rb date object date/format.rb date parsing and formatting @@ -24,7 +24,7 @@ gserver.rb general TCP server ipaddr.rb defines the IPAddr class irb.rb interactive ruby logger.rb simple logging utility -mathn.rb extended math operation +mathn.rb extended math operation (obsolete) matrix.rb matrix calculation library minitest/unit minimal drop-in replacement for test-unit mkmf.rb Makefile maker @@ -52,7 +52,7 @@ profiler.rb ruby profiler module pstore.rb persistent object strage using marshal racc/parser.rb racc (Ruby yACC) runtime rake.rb Ruby Make -rational.rb rational number support +rational.rb rational number support (obsolete) rdoc source-code documentation tool resolv-replace.rb replace Socket DNS by resolve.rb resolv.rb DNS resolver in Ruby 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!) diff --git a/lib/rational.rb b/lib/rational.rb index 68eec47a5..51824f5e8 100644 --- a/lib/rational.rb +++ b/lib/rational.rb @@ -1,5 +1,7 @@ # :enddoc: +warn 'lib/rational.rb is deprecated' + class Fixnum alias quof fdiv |
