ruby-changes:11629
From: akr <ko1@a...>
Date: Fri, 24 Apr 2009 02:50:59 +0900 (JST)
Subject: [ruby-changes:11629] Ruby:r23266 (trunk): update rdoc.
akr 2009-04-24 02:47:58 +0900 (Fri, 24 Apr 2009) New Revision: 23266 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23266 Log: update rdoc. Modified files: trunk/lib/time.rb Index: lib/time.rb =================================================================== --- lib/time.rb (revision 23265) +++ lib/time.rb (revision 23266) @@ -206,7 +206,7 @@ # If a block is given, the year described in +date+ is converted by the # block. For example: # - # Time.parse(...) {|y| y < 100 ? (y >= 69 ? y + 1900 : y + 2000) : y} + # Time.parse(...) {|y| 0 <= y && y < 100 ? (y >= 69 ? y + 1900 : y + 2000) : y} # # If the upper components of the given time are broken or missing, they are # supplied with those of +now+. For the lower components, the minimum -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/