ruby-changes:12831
From: tadf <ko1@a...>
Date: Mon, 17 Aug 2009 00:34:47 +0900 (JST)
Subject: [ruby-changes:12831] Ruby:r24560 (trunk): warn only when $VERBOSE.
tadf 2009-08-17 00:34:35 +0900 (Mon, 17 Aug 2009) New Revision: 24560 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24560 Log: warn only when $VERBOSE. Modified files: trunk/lib/complex.rb trunk/lib/rational.rb Index: lib/rational.rb =================================================================== --- lib/rational.rb (revision 24559) +++ lib/rational.rb (revision 24560) @@ -1,6 +1,6 @@ # :enddoc: -warn 'lib/rational.rb is deprecated' +warn('lib/rational.rb is deprecated') if $VERBOSE class Fixnum Index: lib/complex.rb =================================================================== --- lib/complex.rb (revision 24559) +++ lib/complex.rb (revision 24560) @@ -1,6 +1,6 @@ # :enddoc: -warn 'lib/complex.rb is deprecated' +warn('lib/complex.rb is deprecated') if $VERBOSE require 'cmath' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/