[前][次][番号順一覧][スレッド一覧]

ruby-changes:12829

From: tadf <ko1@a...>
Date: Mon, 17 Aug 2009 00:19:22 +0900 (JST)
Subject: [ruby-changes:12829] Ruby:r24558 (trunk): * lib/complex.rb, lib/rational.rb: added warning messages.

tadf	2009-08-17 00:18:58 +0900 (Mon, 17 Aug 2009)

  New Revision: 24558

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24558

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

  Modified files:
    trunk/ChangeLog
    trunk/lib/README
    trunk/lib/complex.rb
    trunk/lib/rational.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 24557)
+++ ChangeLog	(revision 24558)
@@ -1,3 +1,7 @@
+Mon Aug 17 00:17:33 2009  Tadayoshi Funaba  <tadf@d...>
+
+	* lib/complex.rb, lib/rational.rb: added warning messages.
+
 Sun Aug 16 23:58:22 2009  Nobuyoshi Nakada  <nobu@r...>
 
 	* parse.y (yylex): should dispatch scan-event even when follows
Index: lib/rational.rb
===================================================================
--- lib/rational.rb	(revision 24557)
+++ lib/rational.rb	(revision 24558)
@@ -1,5 +1,7 @@
 # :enddoc:
 
+warn 'lib/rational.rb is deprecated'
+
 class Fixnum
 
   alias quof fdiv
Index: lib/README
===================================================================
--- lib/README	(revision 24557)
+++ lib/README	(revision 24558)
@@ -6,7 +6,7 @@
 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 @@
 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 @@
 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
Index: lib/complex.rb
===================================================================
--- lib/complex.rb	(revision 24557)
+++ lib/complex.rb	(revision 24558)
@@ -1,5 +1,7 @@
 # :enddoc:
 
+warn 'lib/complex.rb is deprecated'
+
 require 'cmath'
 
 unless defined?(Math.exp!)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]