* lib/complex.rb, lib/rational.rb: added warning messages.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
tadf 2009-08-16 15:18:58 +00:00
parent 114f01bd9d
commit 7710478bdc
4 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,7 @@
Mon Aug 17 00:17:33 2009 Tadayoshi Funaba <tadf@dotrb.org>
* lib/complex.rb, lib/rational.rb: added warning messages.
Sun Aug 16 23:58:22 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> Sun Aug 16 23:58:22 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (yylex): should dispatch scan-event even when follows * parse.y (yylex): should dispatch scan-event even when follows

View File

@ -6,7 +6,7 @@ benchmark.rb a benchmark utility
cgi.rb CGI support library cgi.rb CGI support library
cgi/session.rb CGI session class cgi/session.rb CGI session class
cmath.rb math support for complex numbers 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 csv.rb CSV parser/generator
date.rb date object date.rb date object
date/format.rb date parsing and formatting date/format.rb date parsing and formatting
@ -24,7 +24,7 @@ gserver.rb general TCP server
ipaddr.rb defines the IPAddr class ipaddr.rb defines the IPAddr class
irb.rb interactive ruby irb.rb interactive ruby
logger.rb simple logging utility logger.rb simple logging utility
mathn.rb extended math operation mathn.rb extended math operation (obsolete)
matrix.rb matrix calculation library matrix.rb matrix calculation library
minitest/unit minimal drop-in replacement for test-unit minitest/unit minimal drop-in replacement for test-unit
mkmf.rb Makefile maker mkmf.rb Makefile maker
@ -52,7 +52,7 @@ profiler.rb ruby profiler module
pstore.rb persistent object strage using marshal pstore.rb persistent object strage using marshal
racc/parser.rb racc (Ruby yACC) runtime racc/parser.rb racc (Ruby yACC) runtime
rake.rb Ruby Make rake.rb Ruby Make
rational.rb rational number support rational.rb rational number support (obsolete)
rdoc source-code documentation tool rdoc source-code documentation tool
resolv-replace.rb replace Socket DNS by resolve.rb resolv-replace.rb replace Socket DNS by resolve.rb
resolv.rb DNS resolver in Ruby resolv.rb DNS resolver in Ruby

View File

@ -1,5 +1,7 @@
# :enddoc: # :enddoc:
warn 'lib/complex.rb is deprecated'
require 'cmath' require 'cmath'
unless defined?(Math.exp!) unless defined?(Math.exp!)

View File

@ -1,5 +1,7 @@
# :enddoc: # :enddoc:
warn 'lib/rational.rb is deprecated'
class Fixnum class Fixnum
alias quof fdiv alias quof fdiv